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