Class EventStoreSubscriptionDefinition
- Namespace
- Cratis.Chronicle.EventStoreSubscriptions
- Assembly
- Cratis.Chronicle.dll
Represents a definition of an event store subscription.
public record EventStoreSubscriptionDefinition : IEquatable<EventStoreSubscriptionDefinition>
- Inheritance
-
EventStoreSubscriptionDefinition
- Implements
- Inherited Members
Constructors
EventStoreSubscriptionDefinition(EventStoreSubscriptionId, string, IEnumerable<EventTypeId>)
Represents a definition of an event store subscription.
public EventStoreSubscriptionDefinition(EventStoreSubscriptionId Id, string SourceEventStore, IEnumerable<EventTypeId> EventTypes)
Parameters
IdEventStoreSubscriptionIdThe unique identifier for the subscription.
SourceEventStorestringThe name of the source event store to subscribe to.
EventTypesIEnumerable<EventTypeId>The event types to subscribe to.
Properties
EventTypes
The event types to subscribe to.
public IEnumerable<EventTypeId> EventTypes { get; init; }
Property Value
Id
The unique identifier for the subscription.
public EventStoreSubscriptionId Id { get; init; }
Property Value
SourceEventStore
The name of the source event store to subscribe to.
public string SourceEventStore { get; init; }