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

Interface IEventChannelCatalog

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

Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll

Exposes the merged set of event channels available to the active eventing runtime.

public interface IEventChannelCatalog

Gets the effective channel set after host options and module contributors have both been applied.

IReadOnlyList<EventChannelDescriptor> Channels { get; }

IReadOnlyList<EventChannelDescriptor>

TryGet(string, out EventChannelDescriptor)

Section titled “ TryGet(string, out EventChannelDescriptor)”

Attempts to resolve an event channel descriptor by identifier.

bool TryGet(string channelId, out EventChannelDescriptor channel)

channelId string

The channel identifier to resolve.

channel EventChannelDescriptor

When this method returns, contains the resolved channel if found.

bool

true when the channel exists; otherwise false.