Class FallbackEncodingOptions
Configuration options related to Encoding.
Inherited Members
Namespace: Cuemon.Text
Assembly: Cuemon.Core.dll
Syntax
public class FallbackEncodingOptions : EncodingOptions, IEncodingOptions, IParameterObject
Constructors
| Improve this Doc View SourceFallbackEncodingOptions()
Initializes a new instance of the FallbackEncodingOptions class.
Declaration
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
| Improve this Doc View SourceDecoderFallback
Gets or sets the object that provides an error-handling procedure when a byte sequence cannot be decoded.
Declaration
public DecoderFallback DecoderFallback { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public EncoderFallback EncoderFallback { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public Encoding TargetEncoding { get; set; }
Property Value
Type | Description |
---|---|
Encoding | The target encoding for the operation. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|