Exemplo n.º 1
0
 private void MakeSnapshot()
 {
     Task.Run(() => {
         List <ulong> versions;
         int mutationCount;
         var snapshot = CreateState(MaxDetalizationLevel, out versions, out mutationCount);
         repo.PushSnapshot(Resource, snapshot, versions);
     });
 }
Exemplo n.º 2
0
 private void MakeSnapshot()
 {
     repo.PushSnapshot(Resource, State, Version);
     OnSnapshotPushed?.Invoke(State);
 }