public void SetMemento(Memento memento)
 {
     System.Diagnostics.Debug.WriteLine("Restoring state...");
     State = memento.State;
 }
示例#2
0
 public void SetMemento(Memento memento)
 {
     System.Diagnostics.Debug.WriteLine("Restoring state...");
     State = memento.State;
 }