DependencyValidationAttribute(Boolean, String) Constructor

Initializes a new instance of the DependencyValidationAttribute class.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected DependencyValidationAttribute(
	bool requires,
	string argument
)

Parameters

requires  Boolean
if this is a requires dependency, or for a prohibits dependency.
argument  String
The name of the argument that this argument depends on.

Exceptions

ArgumentNullExceptionargument is .

See Also