C# Class TJ.CQRS.Tests.Stub.StubEventStore

Inheritance: EventStore
Datei anzeigen Open project: mastoj/TJ.CQRS Class Usage Examples

Public Methods

Method Description
GetAllEvents ( ) : IEnumerable
InsertEvents ( IEnumerable eventBatch ) : void
StubEventStore ( IEventBus eventBus ) : System

Protected Methods

Method Description
GetEvents ( System.Guid aggregateId ) : IEnumerable
InsertBatch ( IEnumerable eventBatch ) : void

Method Details

GetAllEvents() public method

public GetAllEvents ( ) : IEnumerable
return IEnumerable

GetEvents() protected method

protected GetEvents ( System.Guid aggregateId ) : IEnumerable
aggregateId System.Guid
return IEnumerable

InsertBatch() protected method

protected InsertBatch ( IEnumerable eventBatch ) : void
eventBatch IEnumerable
return void

InsertEvents() public method

public InsertEvents ( IEnumerable eventBatch ) : void
eventBatch IEnumerable
return void

StubEventStore() public method

public StubEventStore ( IEventBus eventBus ) : System
eventBus IEventBus
return System