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)
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)
Parameters
eventStoreNameEventStoreNameName of the event store.
namespaceEventStoreNamespaceNameEventStoreNamespaceName the sequence is for.
connectionIChronicleConnectionCratis.Chronicle.Connections.IChronicleConnection for getting connections.
eventTypesIEventTypesKnown IEventTypes.
constraintsIConstraintsKnown IConstraints.
eventSerializerIEventSerializerThe IEventSerializer for serializing events.
correlationIdAccessorICorrelationIdAccessorICorrelationIdAccessor for getting correlation.
concurrencyScopeStrategiesIConcurrencyScopeStrategiesIConcurrencyScopeStrategies for managing concurrency scopes.
causationManagerICausationManagerICausationManager for getting causation.
unitOfWorkManagerIUnitOfWorkManagerIUnitOfWorkManager for working with the unit of work.
identityProviderIIdentityProviderIIdentityProvider for resolving identity for operations.
jsonSerializerOptionsJsonSerializerOptionsJSON serializer options to use.
Remarks
Initializes a new instance of the EventLog class.