Table of Contents

Class FallbackEncodingOptions

Namespace
Cuemon.Text
Assembly
Cuemon.Core.dll

Configuration options related to System.Text.Encoding.

public class FallbackEncodingOptions : EncodingOptions, IEncodingOptions, IParameterObject
Inheritance
Object
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.

PropertyInitial Value
EncoderFallbackEncoderFallback.ExceptionFallback
DecoderFallbackDecoderFallback.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

System.ArgumentNullException

value cannot be null.

See Also