Parse Method
Definition
- Assemblies
- Cuemon.Kernel.dll
Parse<T>(string, Action<TOptions>)
Converts the specified input to an object of T.
T Parse<T>(string input, Action<out TOptions> setup = null)
Parameters
Returns
- T
An object of
Tequivalent toinput.
Type Parameters
TThe type of the object to return.
Parse(string, Type, Action<TOptions>)
Converts the specified input to an object of targetType.
object Parse(string input, Type targetType, Action<out TOptions> setup = null)
Parameters
inputstringThe string to convert.
targetTypeTypeThe type of the object to return.
setupAction<TOptions>The
TOptionswhich may be configured.
Returns
- object
An object of
targetTypeequivalent toinput.