Example #1
0
        /// <summary>Add a new Delimited field to the current class.</summary>
        /// <param name="fieldName">The Name of the field.</param>
        /// <param name="fieldType">The Type of the field.</param>
        /// <returns>The just created field.</returns>
        public virtual DelimitedFieldBuilder AddField(string fieldName, string fieldType)
        {
            var fb = new DelimitedFieldBuilder(fieldName, fieldType);

            AddFieldInternal(fb);
            return(fb);
        }
Example #2
0
 /// <summary>Add a new Delimited field to the current class.</summary>
 /// <param name="field">The field definition.</param>
 /// <returns>The just added field.</returns>
 public DelimitedFieldBuilder AddField(DelimitedFieldBuilder field)
 {
     AddFieldInternal(field);
     return(field);
 }
 /// <summary>Add a new Delimited field to the current class.</summary>
 /// <param name="fieldName">The Name of the field.</param>
 /// <param name="fieldType">The Type of the field.</param>
 /// <returns>The just created field.</returns>
 public virtual DelimitedFieldBuilder AddField(string fieldName, string fieldType)
 {
     var fb = new DelimitedFieldBuilder(fieldName, fieldType);
     AddFieldInternal(fb);
     return fb;
 }
 /// <summary>Add a new Delimited field to the current class.</summary>
 /// <param name="field">The field definition.</param>
 /// <returns>The just added field.</returns>
 public DelimitedFieldBuilder AddField(DelimitedFieldBuilder field)
 {
     AddFieldInternal(field);
     return field;
 }