EnumConverter Constructor

Initializes a new instance of the EnumConverter for the specified enumeration type.

Definition

Namespace: Ookii.CommandLine.Conversion
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public EnumConverter(
	Type enumType
)

Parameters

enumType  Type
The enumeration type.

Exceptions

ArgumentNullExceptionenumType is .
ArgumentExceptionenumType is not an enumeration type.

See Also