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

Parameters

enumType  Type
The enumeration type.

Exceptions

ArgumentNullExceptionenumType is .
ArgumentExceptionenumType is not an enumeration type.

See Also