Table of Contents

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

Id EventStoreSubscriptionId

The unique identifier for the subscription.

SourceEventStore string

The name of the source event store to subscribe to.

EventTypes IEnumerable<EventTypeId>

The event types to subscribe to.

Properties

EventTypes

The event types to subscribe to.

public IEnumerable<EventTypeId> EventTypes { get; init; }

Property Value

IEnumerable<EventTypeId>

Id

The unique identifier for the subscription.

public EventStoreSubscriptionId Id { get; init; }

Property Value

EventStoreSubscriptionId

SourceEventStore

The name of the source event store to subscribe to.

public string SourceEventStore { get; init; }

Property Value

string