Table of Contents

IConfigurableParser<TResult, TOptions> Interface

Definition

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

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

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

Type Parameters

TResult

The type of the converted result.

TOptions

The type of the delegate setup.

Methods

Name Description
Parse(string, Action<TOptions>)

Converts the input to its TResult equivalent.

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

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