C# Class TJ.CQRS.MongoEvent.MongoEventStore

Inheritance: EventStore
Mostrar archivo Open project: mastoj/TJ.CQRS Class Usage Examples

Public Methods

Method Description
DeleteCollection ( ) : void
GetAllEvents ( ) : IEnumerable
MongoEventStore ( IMongoConfiguration mongoConfiguration, IEventBus eventBus ) : System

Protected Methods

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

Method Details

DeleteCollection() public method

public DeleteCollection ( ) : void
return void

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

MongoEventStore() public method

public MongoEventStore ( IMongoConfiguration mongoConfiguration, IEventBus eventBus ) : System
mongoConfiguration IMongoConfiguration
eventBus IEventBus
return System