ParentCommandAttribute(String) Constructor

Initializes a new instance of the ParentCommandAttribute class.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public ParentCommandAttribute(
	string parentCommandTypeName
)

Parameters

parentCommandTypeName  String
The type name of the parent command class.

Remarks

This constructor is not compatible with the GeneratedCommandManagerAttribute; use the ParentCommandAttribute(Type) constructor instead.

Exceptions

ArgumentNullExceptionparentCommandTypeName is .

See Also