Table of Contents

IParser Interface

Definition

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

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

public interface IParser

Methods

Name Description
Parse(string, Type)

Converts the specified input to an object of targetType.

Parse<T>(string)

Converts the specified input to an object of T.

TryParse(string, Type, out object)

Converts the specified input to an object of targetType. A return value indicates whether the conversion succeeded.

TryParse<T>(string, out T)

Converts the specified input to an object of T. A return value indicates whether the conversion succeeded.