Exemplo n.º 1
0
 public CareTaker(ConcreteOriginator originator)
 {
     _originator = originator;
 }
 public ConcreteMemento(ConcreteOriginator originator, string state)
 {
     _originator = originator;
     _state      = state;
     _date       = DateTime.Now;
 }