ข้ามไปยังเนื้อหา

Interface IEventPublicationRuntimeCatalog

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Exposes operator-facing runtime state reported by event-publication paths.

public interface IEventPublicationRuntimeCatalog

Gets the reported publication-state entries visible to the current runtime.

IReadOnlyList<EventPublicationRuntimeState> States { get; }

IReadOnlyList<EventPublicationRuntimeState>

Gets the reported publication states for one channel identifier.

IReadOnlyList<EventPublicationRuntimeState> GetByChannelId(string channelId)

channelId string

The stable channel identifier to resolve.

IReadOnlyList<EventPublicationRuntimeState>

The reported states for the channel, ordered by publication identifier.

Gets the latest reported publication state for one publication id.

EventPublicationRuntimeState? GetByPublicationId(string publicationId)

publicationId string

The stable publication identifier to resolve.

EventPublicationRuntimeState?

The latest reported state, or null when that publication has not reported runtime state.

TryGet(string, out EventPublicationRuntimeState?)

Section titled “ TryGet(string, out EventPublicationRuntimeState?)”

Tries to get the latest reported publication state for one publication id.

bool TryGet(string publicationId, out EventPublicationRuntimeState? state)

publicationId string

The stable publication identifier to resolve.

state EventPublicationRuntimeState?

Receives the latest reported state when one exists.

bool

true when a reported state exists; otherwise, false.