예제 #1
0
 public Paste(Document document)
 {
     Execute = delegate
     {
         Execute.Log();
         document.Paste();
     };
     Redo = delegate
     {
         Redo.Log();
         document.Paste();
     };
     Undo = delegate
     {
         Undo.Log();
         document.Restore();
     };
 }