Interface IEventSubscriptionCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll
Exposes the merged set of declared event subscriptions available to the active eventing runtime.
public interface IEventSubscriptionCatalogProperties
Section titled “Properties”Subscriptions
Section titled “ Subscriptions”Gets the effective subscription set after host options and module contributors have both been applied.
IReadOnlyList<EventSubscriptionDescriptor> Subscriptions { get; }Property Value
Section titled “Property Value”IReadOnlyList<EventSubscriptionDescriptor>
Methods
Section titled “Methods”GetByChannelId(string)
Section titled “ GetByChannelId(string)”Gets the subscriptions currently bound to one event channel identifier.
IReadOnlyList<EventSubscriptionDescriptor> GetByChannelId(string channelId)Parameters
Section titled “Parameters”channelId string
The event channel identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<EventSubscriptionDescriptor>
The subscriptions declared for the requested channel.
TryGet(string, out EventSubscriptionDescriptor)
Section titled “ TryGet(string, out EventSubscriptionDescriptor)”Attempts to resolve a subscription descriptor by identifier.
bool TryGet(string subscriptionId, out EventSubscriptionDescriptor subscription)Parameters
Section titled “Parameters”subscriptionId string
The subscription identifier to resolve.
subscription EventSubscriptionDescriptor
When this method returns, contains the resolved subscription if found.