FromEnum Method
Definition
FromEnum()
public static IConfigurableParser<EnumStringOptions> FromEnum()
Returns
- IConfigurableParser<EnumStringOptions>
An IConfigurableParser<TOptions> implementation.
Exceptions
- ArgumentNullException
- ArgumentException
string cannot be empty or consist only of white-space characters -or- Type does not represents an enumeration.
- OverflowException
- InvalidOperationException
string is not type SByte, Int16, Int32, Int64, Byte, UInt16, UInt32, or UInt64, or String.