C# Class Composable.CQRS.EventSourcing.InMemoryEventStore

Inheritance: IEventStore, IResetTestDatabases
Show file Open project: mlidbom/Composable.Monolithic

Public Methods

Method Description
DeleteEvents ( System.Guid aggregateId ) : void
Dispose ( ) : void
GetAggregateHistory ( System.Guid id ) : IEnumerable
GetAggregateHistoryForUpdate ( System.Guid id ) : IEnumerable
InMemoryEventStore ( IEnumerable migrationFactories = null ) : System
PersistMigrations ( ) : void
Reset ( ) : void
SaveEvents ( IEnumerable events ) : void
StreamAggregateIdsInCreationOrder ( Type eventBaseType = null ) : IEnumerable
StreamEvents ( int batchSize, Action handleEvents ) : void

Private Methods

Method Description
IResetTestDatabases ( ) : void
StreamEvents ( ) : IEnumerable
TestingOnlyReplaceMigrations ( IReadOnlyList migrations ) : void

Method Details

DeleteEvents() public method

public DeleteEvents ( System.Guid aggregateId ) : void
aggregateId System.Guid
return void

Dispose() public method

public Dispose ( ) : void
return void

GetAggregateHistory() public method

public GetAggregateHistory ( System.Guid id ) : IEnumerable
id System.Guid
return IEnumerable

GetAggregateHistoryForUpdate() public method

public GetAggregateHistoryForUpdate ( System.Guid id ) : IEnumerable
id System.Guid
return IEnumerable

InMemoryEventStore() public method

public InMemoryEventStore ( IEnumerable migrationFactories = null ) : System
migrationFactories IEnumerable
return System

PersistMigrations() public method

public PersistMigrations ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

SaveEvents() public method

public SaveEvents ( IEnumerable events ) : void
events IEnumerable
return void

StreamAggregateIdsInCreationOrder() public method

public StreamAggregateIdsInCreationOrder ( Type eventBaseType = null ) : IEnumerable
eventBaseType System.Type
return IEnumerable

StreamEvents() public method

public StreamEvents ( int batchSize, Action handleEvents ) : void
batchSize int
handleEvents Action
return void