コード例 #1
0
 /// <summary>
 ///   Create instance of object
 /// </summary>
 /// <param name="length">Data length</param>
 /// <param name="isVariable">Is variable data length</param>
 /// <param name="subElement">Sub elements info</param>
 /// <param name="subfields">Sub fields infos</param>
 public DataElementInfo(int length, bool isVariable, SubElementInfo subElement, IEnumerable <SubFieldInfo> subfields)
 {
     DataLength = new DataLength
     {
         Length     = length,
         IsVariable = isVariable
     };
     Elements = subElement;
     Fields   = new List <SubFieldInfo>(subfields);
 }
コード例 #2
0
 /// <summary>
 ///   Create instance of object
 /// </summary>
 /// <param name="length">Data length</param>
 /// <param name="isVariable">Is variable data length</param>
 /// <param name="subElement">Sub elements info</param>
 public DataElementInfo(int length, bool isVariable, SubElementInfo subElement)
     : this(length, isVariable, subElement, null)
 {
 }