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; }
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; }
/// <summary> /// Create a new OptionsBuilder that copies its initial values /// from the given Options. /// </summary> public static OptionsBuilder CreateBuilder(Options options) => OptionsBuilder.CreateBuilder(options);
/// <summary> /// Create a new, empty, OptionsBuilder. /// </summary> public static OptionsBuilder CreateBuilder() => OptionsBuilder.CreateBuilder();
/// <summary> /// Create a new, empty, OptionsBuilder. /// </summary> public static OptionsBuilder NewEmptyBuilder() => OptionsBuilder.NewEmptyBuilder();