C# Class Composable.CQRS.EventSourcing.InMemoryEventStore

Inheritance: IEventStore, IResetTestDatabases
Afficher le fichier Open project: mlidbom/Composable.Monolithic

Méthodes publiques

Méthode 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

Méthode Description
IResetTestDatabases ( ) : void
StreamEvents ( ) : IEnumerable
TestingOnlyReplaceMigrations ( IReadOnlyList migrations ) : void

Method Details

DeleteEvents() public méthode

public DeleteEvents ( System.Guid aggregateId ) : void
aggregateId System.Guid
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAggregateHistory() public méthode

public GetAggregateHistory ( System.Guid id ) : IEnumerable
id System.Guid
Résultat IEnumerable

GetAggregateHistoryForUpdate() public méthode

public GetAggregateHistoryForUpdate ( System.Guid id ) : IEnumerable
id System.Guid
Résultat IEnumerable

InMemoryEventStore() public méthode

public InMemoryEventStore ( IEnumerable migrationFactories = null ) : System
migrationFactories IEnumerable
Résultat System

PersistMigrations() public méthode

public PersistMigrations ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SaveEvents() public méthode

public SaveEvents ( IEnumerable events ) : void
events IEnumerable
Résultat void

StreamAggregateIdsInCreationOrder() public méthode

public StreamAggregateIdsInCreationOrder ( Type eventBaseType = null ) : IEnumerable
eventBaseType System.Type
Résultat IEnumerable

StreamEvents() public méthode

public StreamEvents ( int batchSize, Action handleEvents ) : void
batchSize int
handleEvents Action
Résultat void