예제 #1
0
 public void restore(EditorState state)
 {
     Console.WriteLine("Restoring state");
     Content = state.Content;
     Title   = state.Title;
 }
예제 #2
0
 public void push(EditorState memento)
 {
     states.Add(memento);
 }