C# Class CodeSharp.EventSourcing.EmptySnapshotStore

Default empty implementation of snapshot store, not do any snapshot store.
Inheritance: ISnapshotStore
Show file Open project: tangxuehua/eventsourcing

Public Methods

Method Description
GetLastestSnapshot ( string aggregateRootId, Type aggregateRootType ) : Snapshot
StoreShapshot ( Snapshot snapshot ) : void

Method Details

GetLastestSnapshot() public method

public GetLastestSnapshot ( string aggregateRootId, Type aggregateRootType ) : Snapshot
aggregateRootId string
aggregateRootType System.Type
return Snapshot

StoreShapshot() public method

public StoreShapshot ( Snapshot snapshot ) : void
snapshot Snapshot
return void