Skip to content

Class EventSubscriptionDescriptor

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

Describes one declared event subscription available to the active eventing runtime.

public sealed class EventSubscriptionDescriptor

objectEventSubscriptionDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

EventSubscriptionDescriptor(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)

Section titled “ EventSubscriptionDescriptor(string, string, string, string, string, string, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)”

Creates a new event subscription descriptor.

public EventSubscriptionDescriptor(string id, string displayName, string description, string channelId, string handlerId, string deliveryMode, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable subscription identifier.

displayName string

The operator-facing subscription name.

description string

The human-readable description of the subscription.

channelId string

The logical event channel that the subscription consumes.

handlerId string

The logical handler or consumer identifier that receives the event.

deliveryMode string

The declared delivery mode for the subscription.

tags IReadOnlyList<string>?

Optional tags that classify the subscription.

metadata IReadOnlyDictionary<string, string>?

Optional subscription metadata.

Gets the logical event channel that the subscription consumes.

public string ChannelId { get; }

string

Gets the declared delivery mode for the subscription.

public string DeliveryMode { get; }

string

Gets the human-readable description of the subscription.

public string Description { get; }

string

Gets the operator-facing display name for the subscription.

public string DisplayName { get; }

string

Gets the logical handler or consumer identifier that receives the event.

public string HandlerId { get; }

string

Gets the stable subscription identifier.

public string Id { get; }

string

Gets normalized metadata associated with the subscription.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the normalized tag set associated with the subscription.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>