C# Class FloatingQueue.Server.EventsLogic.AggregateRepository

Inheritance: IAggregateRepository
Exibir arquivo Open project: eleks/FloatingQueuePoC Class Usage Examples

Public Methods

Method Description
CreateAggregate ( string aggreagateId ) : IEventAggregate
GetAllIds ( ) : List
GetLastVersions ( ) : int>.Dictionary
TryGetEventAggregate ( string aggregateId, IEventAggregate &aggregate ) : bool

Method Details

CreateAggregate() public method

public CreateAggregate ( string aggreagateId ) : IEventAggregate
aggreagateId string
return IEventAggregate

GetAllIds() public method

public GetAllIds ( ) : List
return List

GetLastVersions() public method

public GetLastVersions ( ) : int>.Dictionary
return int>.Dictionary

TryGetEventAggregate() public method

public TryGetEventAggregate ( string aggregateId, IEventAggregate &aggregate ) : bool
aggregateId string
aggregate IEventAggregate
return bool