Exemplo n.º 1
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="X12Group{T}"/> class.
 /// </summary>
 /// <param name="header">The group header.</param>
 public X12Group(S_GS header)
     : base(header, (gs, i) => new S_GE
 {
     D_97_1 = i.ToString(),
     D_28_2 = gs.D_28_6
 }, Separators.DefaultX12())
 {
 }
Exemplo n.º 2
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="X12Group{T}"/> class.
 /// </summary>
 /// <param name="header">The group header.</param>
 public X12Group(S_GS header)
     : base(header, (gs, i) => new S_GE
 {
     D_97_1 = i.ToString(),
     D_28_2 = gs.D_28_6
 }, Separators.DefaultSeparatorsX12())
 {
     if (header == null)
     {
         throw new Exception("GS header is null.");
     }
 }