コード例 #1
0
        /// <summary>Adds a new Fixed Length field.</summary>
        /// <param name="fieldName">The name of the field.</param>
        /// <param name="length">The length of the field.</param>
        /// <param name="fieldType">The Type of the field.</param>
        /// <returns>The just created field.</returns>
        public FixedFieldBuilder AddField(string fieldName, int length, string fieldType)
        {
            var fb = new FixedFieldBuilder(fieldName, length, fieldType);

            AddFieldInternal(fb);
            return(fb);
        }
コード例 #2
0
 /// <summary>Adds a new Fixed Length field.</summary>
 /// <param name="field">The field definition.</param>
 /// <returns>The just added field.</returns>
 public FixedFieldBuilder AddField(FixedFieldBuilder field)
 {
     AddFieldInternal(field);
     return(field);
 }
コード例 #3
0
 /// <summary>Adds a new Fixed Length field.</summary>
 /// <param name="field">The field definition.</param>
 /// <returns>The just added field.</returns>
 public FixedFieldBuilder AddField(FixedFieldBuilder field)
 {
     AddFieldInternal(field);
     return field;
 }
コード例 #4
0
 /// <summary>Adds a new Fixed Length field.</summary>
 /// <param name="fieldName">The name of the field.</param>
 /// <param name="length">The length of the field.</param>
 /// <param name="fieldType">The Type of the field.</param>
 /// <returns>The just created field.</returns>
 public FixedFieldBuilder AddField(string fieldName, int length, string fieldType)
 {
     FixedFieldBuilder fb = new FixedFieldBuilder(fieldName, length, fieldType);
     AddFieldInternal(fb);
     return fb;
 }