Example #1
0
 public void Update(MyObject hero)
 {
     //...
 }
Example #2
0
 public Restorer(MyObject myobj, Memento memento)
 {
     Console.WriteLine("Memento and object pointer's setted");
     myObject     = myobj;
     this.memento = memento;
 }