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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public EnumConverter(
	Type enumType
)

Parameters

enumType  Type
The enumeration type.

Exceptions

ArgumentNullExceptionenumType is .
ArgumentExceptionenumType is not an enumeration type.

See Also