Table of Contents

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

eventStoreName EventStoreName

Name of the event store.

namespace EventStoreNamespaceName

EventStoreNamespaceName the sequence is for.

connection IChronicleConnection

Cratis.Chronicle.Connections.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.

Remarks

Initializes a new instance of the EventLog class.