Table of Contents

IConfigurableParser<TOptions> Interface

Definition

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

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

public interface IConfigurableParser<out TOptions> where TOptions : class, IParameterObject, new()

Type Parameters

TOptions

The type of the delegate setup.

Methods

Name Description
Parse(string, Type, Action<TOptions>)

Converts the specified input to an object of targetType.

Parse<T>(string, Action<TOptions>)

Converts the specified input to an object of T.

TryParse(string, Type, out object, Action<TOptions>)

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

TryParse<T>(string, out T, Action<TOptions>)

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

See Also