コード例 #1
0
 public void SetUp()
 {
     Snapshot = new Snapshot(Guid.NewGuid(), 1, new TestSnapshot {
         Name = "Name"
     });
     SnapshotStore.SaveShapshot(Snapshot);
     _retrieved = SnapshotStore.GetSnapshot(Snapshot.EventSourceId, long.MaxValue);
 }
コード例 #2
0
 public void SetUp()
 {
     Snapshot = new TestSnapshot {
         EventSourceId = Guid.NewGuid(), EventSourceVersion = 1, Name = "TestName"
     };
     SnapshotStore.SaveShapshot(Snapshot);
     _retrieved = SnapshotStore.GetSnapshot(Snapshot.EventSourceId);
 }
コード例 #3
0
 public void SetUp()
 {
     Snapshot = new TestSnapshot {
         EventSourceId = Guid.NewGuid(), EventSourceVersion = 1, Name = "TestName"
     };
     _foldername = Snapshot.EventSourceId.ToString().Substring(0, 2);
     _filename   = Snapshot.EventSourceId.ToString().Substring(2) + ".ss";
     SnapshotStore.SaveShapshot(Snapshot);
 }