Table of Contents

FromUriScheme Method

Definition

Namespace
Cuemon.Text
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Text/ParserFactory.cs

FromUriScheme()

Creates a parser that converts a string, represented as an URI scheme, to its equivalent UriScheme.

public static IParser<UriScheme> FromUriScheme()

Returns

IParser<UriScheme>

An IConfigurableParser<TOptions> implementation.

Exceptions

ArgumentNullException

string cannot be null.

ArgumentException

string cannot be empty or consist only of white-space characters.