Table of Contents

FromGuid Method

Definition

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

FromGuid()

Creates a parser that converts a string to its equivalent Guid.

public static IConfigurableParser<Guid, GuidStringOptions> FromGuid()

Returns

IConfigurableParser<Guid, GuidStringOptions>

An IConfigurableParser<TResult, TOptions> implementation.

Exceptions

ArgumentNullException

string cannot be null.

ArgumentException

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

FormatException

string was not recognized to be a GUID.

See Also