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: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
public EnumConverter(
	Type enumType
)

Parameters

enumType  Type
The enumeration type.

Exceptions

ArgumentNullExceptionenumType is .
ArgumentExceptionenumType is not an enumeration type.

See Also