Example #1
0
 public TaggedDrgArray(string tag, Drg drg)
 {
     this.tag = tag;
     if (drg == null)
     {
         this.count = 0;
         return;
     }
     this.items = new DrgTO[1];
     this.items[0] = new DrgTO(drg);
     this.count = 1;
 }
Example #2
0
 public TaggedDrgArray(string tag, Drg[] mdoItems)
 {
     this.tag = tag;
     if (mdoItems == null)
     {
         this.count = 0;
         return;
     }
     items = new DrgTO[mdoItems.Length];
     for (int i = 0; i < mdoItems.Length; i++)
     {
         items[i] = new DrgTO(mdoItems[i]);
     }
     count = items.Length;
 }
Example #3
0
File: DrgTO.cs Project: OSEHRA/mdws
 public DrgTO(Drg mdoDrg)
 {
     this.id = mdoDrg.Id;
     this.description = mdoDrg.Description;
 }