Table of Contents

IParser<TResult> Interface

Definition

Namespace
Cuemon.Text
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Text/IParser.cs

Defines methods that converts a string to a generic object of TResult.

public interface IParser<TResult>

Type Parameters

TResult

The type of the converted result.

Methods

Name Description
Parse(string)

Converts the input to its TResult equivalent.

TryParse(string, out TResult)

Converts the input to its TResult equivalent. A return input indicates whether the conversion succeeded.