コード例 #1
0
ファイル: Address.cs プロジェクト: cmgator/Symbiote
 public void PopulateFrom(IAddressMemento addressMemento)
 {
     StreetNumber = addressMemento.StreetNumber;
     StreetName = addressMemento.StreetName;
     City = addressMemento.City;
     State = addressMemento.State;
     Zip = addressMemento.Zip;
 }
コード例 #2
0
ファイル: Address.cs プロジェクト: cmgator/Symbiote
 public void Populate(IAddressMemento addressMemento)
 {
     addressMemento.StreetNumber = StreetNumber;
     addressMemento.StreetName = StreetName;
     addressMemento.City = City;
     addressMemento.State = State;
     addressMemento.Zip = Zip;
 }
コード例 #3
0
ファイル: Address.cs プロジェクト: cmgator/Symbiote
 public Address(IAddressMemento addressMemento)
 {
     PopulateFrom( addressMemento );
 }