Exemplo n.º 1
0
 public void PopulateFrom(IAddressMemento addressMemento)
 {
     StreetNumber = addressMemento.StreetNumber;
     StreetName = addressMemento.StreetName;
     City = addressMemento.City;
     State = addressMemento.State;
     Zip = addressMemento.Zip;
 }
Exemplo n.º 2
0
 public void Populate(IAddressMemento addressMemento)
 {
     addressMemento.StreetNumber = StreetNumber;
     addressMemento.StreetName = StreetName;
     addressMemento.City = City;
     addressMemento.State = State;
     addressMemento.Zip = Zip;
 }
Exemplo n.º 3
0
 public Address(IAddressMemento addressMemento)
 {
     PopulateFrom( addressMemento );
 }