Exemplo n.º 1
0
 public UserOptionTO(UserOption mdo)
 {
     this.number = mdo.Number;
     this.id = mdo.Id;
     this.name = mdo.Name;
     this.displayName = mdo.DisplayName;
     this.key = mdo.Key;
     this.reverseKey = mdo.ReverseKey;
     this.type = mdo.Type;
     this.primaryOption = mdo.PrimaryOption;
 }
Exemplo n.º 2
0
 public UserOptionArray(UserOption[] mdo)
 {
     if (mdo == null)
     {
         return;
     }
     options = new UserOptionTO[mdo.Length];
     for (int i = 0; i < mdo.Length; i++)
     {
         options[i] = new UserOptionTO(mdo[i]);
     }
     count = mdo.Length;
 }