コード例 #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);
 }