コード例 #1
0
ファイル: BloodPressure.cs プロジェクト: bcl-lab-apps/EMRGENE
        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;
        }
 internal static string ToTextValue(NonNegativeInt obj)
 {
     return (obj != null) ? XmlConvert.ToString(obj.Value) : null;
 }
コード例 #3
0
 internal static string ToTextValue(NonNegativeInt obj)
 {
     return((obj != null) ? XmlConvert.ToString(obj.Value) : null);
 }