C# 클래스 NDomain.EventSourcing.EventStore

상속: IEventStore
파일 보기 프로젝트 열기: mfelicio/NDomain 1 사용 예제들

공개 메소드들

메소드 설명
Append ( string aggregateId, int expectedVersion, IEnumerable events ) : System.Threading.Tasks.Task
EventStore ( IEventStoreDb db, IEventStoreBus bus, IEventStoreSerializer serializer ) : Newtonsoft.Json.Linq
Load ( string aggregateId ) : Task>
LoadRange ( string aggregateId, int start, int end ) : Task>

비공개 메소드들

메소드 설명
CheckAndProcessUncommittedEvents ( string aggregateId, string transactionId ) : System.Threading.Tasks.Task

메소드 상세

Append() 공개 메소드

public Append ( string aggregateId, int expectedVersion, IEnumerable events ) : System.Threading.Tasks.Task
aggregateId string
expectedVersion int
events IEnumerable
리턴 System.Threading.Tasks.Task

EventStore() 공개 메소드

public EventStore ( IEventStoreDb db, IEventStoreBus bus, IEventStoreSerializer serializer ) : Newtonsoft.Json.Linq
db IEventStoreDb
bus IEventStoreBus
serializer IEventStoreSerializer
리턴 Newtonsoft.Json.Linq

Load() 공개 메소드

public Load ( string aggregateId ) : Task>
aggregateId string
리턴 Task>

LoadRange() 공개 메소드

public LoadRange ( string aggregateId, int start, int end ) : Task>
aggregateId string
start int
end int
리턴 Task>