Inheritance: AbstractArrayTO
Example #1
0
        void setLabTests(IList<LabTest> tests)
        {
            if (tests == null || tests.Count == 0)
            {
                return;
            }

            this.count = tests.Count;
            this.labTests = new LabTestArray(tests);
        }
Example #2
0
        void setLabTests(IList <LabTest> tests)
        {
            if (tests == null || tests.Count == 0)
            {
                return;
            }

            this.count    = tests.Count;
            this.labTests = new LabTestArray(tests);
        }
Example #3
0
 public LabPanelTO(LabPanel mdo)
 {
     if (mdo == null)
     {
         return;
     }
     this.tests = new LabTestArray(mdo.Tests);
     this.name  = mdo.Name;
     this.order = new OrderTO(mdo.Order);
 }
Example #4
0
 public LabPanelTO(LabPanel mdo)
 {
     if (mdo == null)
     {
         return;
     }
     this.tests = new LabTestArray(mdo.Tests);
     this.name = mdo.Name;
     this.order = new OrderTO(mdo.Order);
 }
Example #5
0
        void setLabTests(LabTest test)
        {
            if (test == null)
            {
                return;
            }

            IList <LabTest> temp = new List <LabTest>()
            {
                test
            };

            this.count    = 1;
            this.labTests = new LabTestArray(temp);
        }
Example #6
0
        void setLabTests(LabTest[] tests)
        {
            if (tests == null || tests.Length == 0)
            {
                return;
            }

            IList <LabTest> temp = new List <LabTest>();

            foreach (LabTest tst in tests)
            {
                temp.Add(tst);
            }
            this.count    = tests.Length;
            this.labTests = new LabTestArray(temp);
        }
Example #7
0
        void setLabTests(LabTest test)
        {
            if (test == null)
            {
                return;
            }

            IList<LabTest> temp = new List<LabTest>() { test };
            this.count = 1;
            this.labTests = new LabTestArray(temp);
        }
Example #8
0
        void setLabTests(LabTest[] tests)
        {
            if (tests == null || tests.Length == 0)
            {
                return;
            }

            IList<LabTest> temp = new List<LabTest>();
            foreach (LabTest tst in tests)
            {
                temp.Add(tst);
            }
            this.count = tests.Length;
            this.labTests = new LabTestArray(temp);
        }