C# 클래스 CQRSalad.EventStore.MongoDB.MongoSnapshotSerializer

파일 보기 프로젝트 열기: Ontropix/CQRSalad 1 사용 예제들

공개 메소드들

메소드 설명
Deserialize ( BsonDocument bsonDocument ) : AggregateSnapshot
GetIdFilter ( string id ) : bool>>.Expression
MongoSnapshotSerializer ( ) : System
Serialize ( AggregateSnapshot snapshot ) : BsonDocument

메소드 상세

Deserialize() 공개 메소드

public Deserialize ( BsonDocument bsonDocument ) : AggregateSnapshot
bsonDocument BsonDocument
리턴 CQRSalad.EventSourcing.AggregateSnapshot

GetIdFilter() 공개 메소드

public GetIdFilter ( string id ) : bool>>.Expression
id string
리턴 bool>>.Expression

MongoSnapshotSerializer() 공개 메소드

public MongoSnapshotSerializer ( ) : System
리턴 System

Serialize() 공개 메소드

public Serialize ( AggregateSnapshot snapshot ) : BsonDocument
snapshot CQRSalad.EventSourcing.AggregateSnapshot
리턴 BsonDocument