示例#1
0
 internal Options(OptionsBuilder copy)
 {
     ValueSeparator              = copy.ValueSeparator;
     EscapedValueStartAndEnd     = copy.EscapedValueStartAndEnd;
     EscapedValueEscapeCharacter = copy.EscapedValueEscapeCharacter;
     RowEnding            = copy.RowEnding;
     ReadHeader           = copy.ReadHeader;
     WriteHeader          = copy.WriteHeader;
     TypeDescriber        = copy.TypeDescriber;
     WriteTrailingNewLine = copy.WriteTrailingNewLine;
     MemoryPool           = copy.MemoryPool;
     CommentCharacter     = copy.CommentCharacter;
     WriteBufferSizeHint  = copy.WriteBufferSizeHint;
     ReadBufferSizeHint   = copy.ReadBufferSizeHint;
     DynamicTypeConverter = copy.DynamicTypeConverter;
     DynamicRowDisposal   = copy.DynamicRowDisposal;
 }
示例#2
0
 internal Options(OptionsBuilder copy)
 {
     ValueSeparator              = copy.ValueSeparator;
     EscapedValueStartAndEnd     = copy.EscapedValueStartAndEnd;
     EscapedValueEscapeCharacter = copy.EscapedValueEscapeCharacter;
     ReadRowEnding          = copy.ReadRowEnding;
     WriteRowEnding         = copy.WriteRowEnding;
     ReadHeader             = copy.ReadHeader;
     WriteHeader            = copy.WriteHeader;
     TypeDescriber          = Utils.NonNull(copy.TypeDescriber);
     WriteTrailingRowEnding = copy.WriteTrailingRowEnding;
     MemoryPoolProvider     = Utils.NonNull(copy.MemoryPoolProvider);
     CommentCharacter       = copy.CommentCharacter;
     WriteBufferSizeHint    = copy.WriteBufferSizeHint;
     ReadBufferSizeHint     = copy.ReadBufferSizeHint;
     DynamicRowDisposal     = copy.DynamicRowDisposal;
     WhitespaceTreatment    = copy.WhitespaceTreatment;
     ExtraColumnTreatment   = copy.ExtraColumnTreatment;
 }
示例#3
0
 /// <summary>
 /// Create a new OptionsBuilder that copies its initial values
 /// from the given Options.
 /// </summary>
 public static OptionsBuilder CreateBuilder(Options options)
 => OptionsBuilder.CreateBuilder(options);
示例#4
0
 /// <summary>
 /// Create a new, empty, OptionsBuilder.
 /// </summary>
 public static OptionsBuilder CreateBuilder()
 => OptionsBuilder.CreateBuilder();
示例#5
0
 /// <summary>
 /// Create a new, empty, OptionsBuilder.
 /// </summary>
 public static OptionsBuilder NewEmptyBuilder()
 => OptionsBuilder.NewEmptyBuilder();