Exemple #1
0
 private void IntializeComplexProperties(Friend model)
 {
     if (model.Address == null)
     {
         throw new ArgumentException("Address cannot b null");
     }
     Address = new AddressWrapper(model.Address);
 }
 protected override void InitializeComplexProperties(Friend model)
 {
     if (model.Address == null)
     {
         throw new ArgumentException("Address cannot be null");
     }
     Address = new AddressWrapper(model.Address);
     RegisterComplex(Address);
 }
Exemple #3
0
 private void InitializeComplexPropertes(Friend model)
 {
     if (model.Address == null)
     {
         throw new ArgumentException("Address can't be Null");
     }
     Address = new AddressWrapper(model.Address);
     RegisterComplex(Address);
 }