public Height(StructuredDateTime when, LengthMeasurement length)
     : this()
 {
     if (when == null)
     {
         throw new ArgumentNullException("when");
     }
     if (length == null)
     {
         throw new ArgumentNullException("length");
     }
     When  = when;
     Value = length;
 }
Exemplo n.º 2
0
        public Weight(StructuredDateTime when, WeightMeasurement weight)
            : this()
        {
            if (when == null)
            {
                throw new ArgumentNullException("when");
            }
            if (weight == null)
            {
                throw new ArgumentNullException("weight");
            }

            When  = when;
            Value = weight;
        }
        public BloodPressure(StructuredDateTime when, NonNegativeInt systolic, NonNegativeInt diastolic)
            : this()
        {
            if (when == null)
            {
                throw new ArgumentNullException("when");
            }

            if (systolic == null)
            {
                throw new ArgumentNullException("systolic");
            }

            if (diastolic == null)
            {
                throw new ArgumentNullException("diastolic");
            }

            When      = when;
            Systolic  = systolic;
            Diastolic = diastolic;
        }
Exemplo n.º 4
0
 public Weight(StructuredDateTime when)
     : this(when, null)
 {
 }