예제 #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);
     });
 }
예제 #2
0
 private void MakeSnapshot()
 {
     repo.PushSnapshot(Resource, State, Version);
     OnSnapshotPushed?.Invoke(State);
 }