예제 #1
0
 public TaggedProstheticClaimArray(string tag, ProstheticClaim mdo)
 {
     this.tag = tag;
     if (mdo == null)
     {
         this.count = 0;
         return;
     }
     this.claims = new ProstheticClaimTO[1];
     this.claims[0] = new ProstheticClaimTO(mdo);
     this.count = 1;
 }
예제 #2
0
 public TaggedProstheticClaimArray(string tag, ProstheticClaim[] mdos)
 {
     this.tag = tag;
     if (mdos == null)
     {
         this.count = 0;
         return;
     }
     this.claims = new ProstheticClaimTO[mdos.Length];
     for (int i = 0; i < mdos.Length; i++)
     {
         this.claims[i] = new ProstheticClaimTO(mdos[i]);
     }
     this.count = claims.Length;
 }
예제 #3
0
 public ProstheticClaimTO(ProstheticClaim mdo)
     : base(mdo)
 {
     this.prostheticId = mdo.ItemId;
     this.prostheticName = mdo.ItemName;
 }