Table of Contents

Class IValueParser

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

Helpers for parsing string input into the value type exposed by IValue<TValue>.

public static class IValueParser
Inheritance
IValueParser
Inherited Members

Remarks

Used by the default implementation of TrySetValueFromString(string) and by derived classes that implement multiple IValue<T> interfaces and need to disambiguate the diamond-inherited default implementation.

Methods

TryParseValue<TValue>(string, out TValue?)

Attempts to parse input into a value of type TValue.