예제 #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();