Class FallbackEncodingOptions
- Namespace
- Cuemon.Text
- Assembly
- Cuemon.Core.dll
Configuration options related to Encoding.
public class FallbackEncodingOptions : EncodingOptions, IEncodingOptions, IParameterObject
- Inheritance
-
FallbackEncodingOptions
- Implements
- Inherited Members
Constructors
FallbackEncodingOptions()
Initializes a new instance of the FallbackEncodingOptions class.
public FallbackEncodingOptions()
Remarks
The following table shows the initial property values for an instance of FallbackEncodingOptions.
Property | Initial Value |
---|---|
EncoderFallback | EncoderFallback.ExceptionFallback |
DecoderFallback | DecoderFallback.ExceptionFallback |
Properties
DecoderFallback
Gets or sets the object that provides an error-handling procedure when a byte sequence cannot be decoded.
public DecoderFallback DecoderFallback { get; set; }
Property Value
- DecoderFallback
The object that provides an error-handling procedure when a byte sequence cannot be decoded.
EncoderFallback
Gets or sets the object that provides an error-handling procedure when a character cannot be encoded.
public EncoderFallback EncoderFallback { get; set; }
Property Value
- EncoderFallback
The object that provides an error-handling procedure when a character cannot be encoded.
TargetEncoding
Gets or sets the target encoding for the operation.
public Encoding TargetEncoding { get; set; }
Property Value
- Encoding
The target encoding for the operation.
Exceptions
- ArgumentNullException
value
cannot be null.