예제 #1
0
 public void RollbackTo(TrackableDataContainerTracker tracker)
 {
     if (PersonTracker != null)
     {
         PersonTracker.RollbackTo(tracker.PersonTracker);
     }
     if (DictionaryTracker != null)
     {
         DictionaryTracker.RollbackTo(tracker.DictionaryTracker);
     }
     if (ListTracker != null)
     {
         ListTracker.RollbackTo(tracker.ListTracker);
     }
     if (SetTracker != null)
     {
         SetTracker.RollbackTo(tracker.SetTracker);
     }
 }
        public void Test_ContainerTracker_Serialize()
        {
            var tracker = new TrackableDataContainerTracker();

            AssertTrackerSerialize(tracker);
        }