C# Class CQRSalad.EventStore.MongoDB.MongoSnapshotSerializer

Show file Open project: Ontropix/CQRSalad Class Usage Examples

Public Methods

Method Description
Deserialize ( BsonDocument bsonDocument ) : AggregateSnapshot
GetIdFilter ( string id ) : bool>>.Expression
MongoSnapshotSerializer ( ) : System
Serialize ( AggregateSnapshot snapshot ) : BsonDocument

Method Details

Deserialize() public method

public Deserialize ( BsonDocument bsonDocument ) : AggregateSnapshot
bsonDocument BsonDocument
return CQRSalad.EventSourcing.AggregateSnapshot

GetIdFilter() public method

public GetIdFilter ( string id ) : bool>>.Expression
id string
return bool>>.Expression

MongoSnapshotSerializer() public method

public MongoSnapshotSerializer ( ) : System
return System

Serialize() public method

public Serialize ( AggregateSnapshot snapshot ) : BsonDocument
snapshot CQRSalad.EventSourcing.AggregateSnapshot
return BsonDocument