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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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