Table of Contents

Namespace Cuemon.Text

Assembly: Cuemon.Core.dll

The Cuemon.Text namespace contains types tailored to ease the pain of working with encodings, BOM, parsing, preamble sequences and stems. Also includes way to conform to a uniform way of turning strings into objects of a particular type. The namespace is an addition to the System.Text namespace.

Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0

Complements: System.Text namespace 🔗

Classes

AsyncEncodingOptions

Specifies options that is related to the System.Text.Encoding class.

ByteOrderMark

Provides a set of static methods for Unicode related operations.

EncodingOptions

Specifies options that is related to the System.Text.Encoding class.

EnumStringOptions

Configuration options for FromEnum().

FallbackEncodingOptions

Configuration options related to System.Text.Encoding.

GuidStringOptions

Configuration options for FromGuid().

ParserFactory

Provides access to factory methods that are tailored for parsing operations adhering IParser and IConfigurableParser<TOptions>.

ProtocolRelativeUriStringOptions

Configuration options for FromProtocolRelativeUri().

Stem

Provides a way to support assigning a stem to a value.

UriStringOptions

Configuration options for FromUri().

Interfaces

IConfigurableParser<TOptions>

Defines methods that converts a System.String to an System.Object of a particular type.

IConfigurableParser<TResult, TOptions>

Defines methods that converts a System.String to a generic object of TResult.

IEncodingOptions

Defines options that is related to System.Text.Encoding operations.

IParser

Defines methods that converts a System.String to an System.Object of a particular type.

IParser<TResult>

Defines methods that converts a System.String to a generic object of TResult.

Enums

PreambleSequence

Specifies what action to take in regards to encoding preamble sequences.