コード例 #1
0
 ///<summary>
 /// Creates a XAD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XAD(Message message, string description) : base(message, description)
 {
     data     = new Type[12];
     data[0]  = new SAD(message, "Street address (SAD)");
     data[1]  = new ST(message, "Other designation");
     data[2]  = new ST(message, "City");
     data[3]  = new ST(message, "State or province");
     data[4]  = new ST(message, "Zip or postal code");
     data[5]  = new ID(message, 0, "Country");
     data[6]  = new ID(message, 0, "Address type");
     data[7]  = new ST(message, "Other geographic designation");
     data[8]  = new IS(message, 0, "County/parish code");
     data[9]  = new IS(message, 0, "Census tract");
     data[10] = new ID(message, 0, "Address representation code");
     data[11] = new DR(message, "Address validity range");
 }
コード例 #2
0
ファイル: XAD.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a XAD.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public XAD(Message message, string description)
     : base(message, description)
 {
     data = new Type[12];
     data[0] = new SAD(message,"Street address (SAD)");
     data[1] = new ST(message,"Other designation");
     data[2] = new ST(message,"City");
     data[3] = new ST(message,"State or province");
     data[4] = new ST(message,"Zip or postal code");
     data[5] = new ID(message, 0,"Country");
     data[6] = new ID(message, 0,"Address type");
     data[7] = new ST(message,"Other geographic designation");
     data[8] = new IS(message, 0,"County/parish code");
     data[9] = new IS(message, 0,"Census tract");
     data[10] = new ID(message, 0,"Address representation code");
     data[11] = new DR(message,"Address validity range");
 }