コード例 #1
0
 public AdminLookupItem(AdminLookupItemModel model)
 {
     Id            = string.IsNullOrEmpty(model.Id) ? Guid.NewGuid().ToString() : model.Id;
     CanonicalName = model.CanonicalName;
     DisplayName   = model.DisplayName;
     Values        = AdminLookupItemValue.Convert(model.Values);
 }
コード例 #2
0
 public AdminEmailAddress(AdminEmailAddressModel model)
 {
     Type    = new AdminLookupItemValue(model.Type);
     Address = model.Address;
 }
コード例 #3
0
 public AdminPhoneNumber(AdminPhoneNumberModel model)
 {
     Type   = new AdminLookupItemValue(model.Type);
     Number = model.Number;
 }