Class FixedWidthLoaderStreamOptions
- Namespace
- Wolfgang.Etl.FixedWidth
- Assembly
- Wolfgang.Etl.FixedWidth.dll
Configuration for a FixedWidthLoader<TRecord> constructed over a
Stream: everything in FixedWidthLoaderOptions plus the
Encoding used to encode the bytes. The TextWriter constructors
take the base record instead, because a writer already owns its encoding and an Encoding
there would be settable but inert.
public sealed record FixedWidthLoaderStreamOptions : FixedWidthLoaderOptions, IEquatable<LoaderOptions>, IEquatable<FixedWidthLoaderOptions>, IEquatable<FixedWidthLoaderStreamOptions>
- Inheritance
-
LoaderOptionsFixedWidthLoaderStreamOptions
- Implements
-
IEquatable<LoaderOptions>
- Inherited Members
-
LoaderOptions.ToString()LoaderOptions.GetHashCode()LoaderOptions.Equals(LoaderOptions)LoaderOptions.<Clone>$()LoaderOptions.ReportingIntervalLoaderOptions.MaximumItemCountLoaderOptions.SkipItemCountLoaderOptions.ErrorPolicy
Constructors
FixedWidthLoaderStreamOptions()
Initializes a new instance of the FixedWidthLoaderStreamOptions class.
public FixedWidthLoaderStreamOptions()
Properties
Encoding
The encoding used to encode the stream. Defaults to UTF8.
public Encoding Encoding { get; init; }
Property Value
Exceptions
- ArgumentNullException
The value is null.