C# Class FloatingQueue.Server.EventsLogic.EventAggregate

Inheritance: IEventAggregate
Datei anzeigen Open project: eleks/FloatingQueuePoC Class Usage Examples

Public Methods

Method Description
BeginTransaction ( ) : ITransaction
GetAllNext ( int version ) : IEnumerable
GetRange ( int version, int count ) : IEnumerable
Push ( int version, object e ) : void
PushMany ( int version, IEnumerable events ) : void
TryGetNext ( int version, object &next ) : bool

Private Methods

Method Description
CommitTransaction ( ) : void
EnsureTransaction ( ) : void
RollbackTransaction ( ) : void

Method Details

BeginTransaction() public method

public BeginTransaction ( ) : ITransaction
return ITransaction

GetAllNext() public method

public GetAllNext ( int version ) : IEnumerable
version int
return IEnumerable

GetRange() public method

public GetRange ( int version, int count ) : IEnumerable
version int
count int
return IEnumerable

Push() public method

public Push ( int version, object e ) : void
version int
e object
return void

PushMany() public method

public PushMany ( int version, IEnumerable events ) : void
version int
events IEnumerable
return void

TryGetNext() public method

public TryGetNext ( int version, object &next ) : bool
version int
next object
return bool