C# Class TastyDomainDriven.Memory.MemoryAppendStore

Inheritance: IAppendOnlyStore
Mostra file Open project: jaceenet/TastyDomainDriven

Public Methods

Method Description
Append ( string name, byte data, long expectedVersion = -1 ) : void
Close ( ) : void
Dispose ( ) : void
ReadRecords ( long afterVersion, int maxCount ) : IEnumerable
ReadRecords ( string streamName, long afterVersion, int maxCount ) : IEnumerable

Method Details

Append() public method

public Append ( string name, byte data, long expectedVersion = -1 ) : void
name string
data byte
expectedVersion long
return void

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

ReadRecords() public method

public ReadRecords ( long afterVersion, int maxCount ) : IEnumerable
afterVersion long
maxCount int
return IEnumerable

ReadRecords() public method

public ReadRecords ( string streamName, long afterVersion, int maxCount ) : IEnumerable
streamName string
afterVersion long
maxCount int
return IEnumerable