C# Class TastyDomainDriven.AsyncImpl.EventStoreAsync

Inheritance: IEventStoreAsync
显示文件 Open project: jaceenet/TastyDomainDriven Class Usage Examples

Protected Properties

Property Type Description
Logger TheLogger

Public Methods

Method Description
AppendToStream ( IIdentity id, long expectedVersion, ICollection events ) : System.Threading.Tasks.Task
EventStoreAsync ( IAppendOnlyAsync appender, IEventSerializer serializer = null ) : System.Collections.Generic
LoadEventStream ( IIdentity id ) : Task
LoadEventStream ( IIdentity id, long skip, int take ) : Task
ReplayAll ( int afterVersion = default(int?), int maxVersion = default(int?) ) : Task

Method Details

AppendToStream() public method

public AppendToStream ( IIdentity id, long expectedVersion, ICollection events ) : System.Threading.Tasks.Task
id IIdentity
expectedVersion long
events ICollection
return System.Threading.Tasks.Task

EventStoreAsync() public method

public EventStoreAsync ( IAppendOnlyAsync appender, IEventSerializer serializer = null ) : System.Collections.Generic
appender IAppendOnlyAsync
serializer IEventSerializer
return System.Collections.Generic

LoadEventStream() public method

public LoadEventStream ( IIdentity id ) : Task
id IIdentity
return Task

LoadEventStream() public method

public LoadEventStream ( IIdentity id, long skip, int take ) : Task
id IIdentity
skip long
take int
return Task

ReplayAll() public method

public ReplayAll ( int afterVersion = default(int?), int maxVersion = default(int?) ) : Task
afterVersion int
maxVersion int
return Task

Property Details

Logger protected_oe static_oe property

protected static TheLogger Logger
return TheLogger