示例#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;
 }