Class EventLog

Namespace
Cratis.Chronicle.EventSequences
Assembly
Cratis.Chronicle.dll

Represents an implementation of IEventLog.

public class EventLog : EventSequence, IEventLog, IEventSequence
Inheritance
EventLog
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the EventLog class.

Constructors

EventLog(EventStoreName, EventStoreNamespaceName, IChronicleConnection, IEventTypes, IConstraints, IEventSerializer, ICorrelationIdAccessor, IConcurrencyScopeStrategies, ICausationManager, IUnitOfWorkManager, IIdentityProvider, JsonSerializerOptions, IReactorSideEffectHandlers?, IEventSources?)

Represents an implementation of IEventLog.

public EventLog(EventStoreName eventStoreName, EventStoreNamespaceName @namespace, IChronicleConnection connection, IEventTypes eventTypes, IConstraints constraints, IEventSerializer eventSerializer, ICorrelationIdAccessor correlationIdAccessor, IConcurrencyScopeStrategies concurrencyScopeStrategies, ICausationManager causationManager, IUnitOfWorkManager unitOfWorkManager, IIdentityProvider identityProvider, JsonSerializerOptions jsonSerializerOptions, IReactorSideEffectHandlers? sideEffectHandlers = null, IEventSources? eventSources = null)

Parameters

eventStoreName EventStoreName

Name of the event store.

namespace EventStoreNamespaceName

EventStoreNamespaceName the sequence is for.

connection IChronicleConnection

IChronicleConnection for getting connections.

eventTypes IEventTypes

Known IEventTypes.

constraints IConstraints

Known IConstraints.

eventSerializer IEventSerializer

The IEventSerializer for serializing events.

correlationIdAccessor ICorrelationIdAccessor

ICorrelationIdAccessor for getting correlation.

concurrencyScopeStrategies IConcurrencyScopeStrategies

IConcurrencyScopeStrategies for managing concurrency scopes.

causationManager ICausationManager

ICausationManager for getting causation.

unitOfWorkManager IUnitOfWorkManager

IUnitOfWorkManager for working with the unit of work.

identityProvider IIdentityProvider

IIdentityProvider for resolving identity for operations.

jsonSerializerOptions JsonSerializerOptions

JSON serializer options to use.

sideEffectHandlers IReactorSideEffectHandlers

Optional handlers used to recognize synchronous reactor return types.

eventSources IEventSources

Optional IEventSources for appending through event source definitions.

Remarks

Initializes a new instance of the EventLog class.