DependencyValidationAttribute(Boolean, String) Constructor

Initializes a new instance of the DependencyValidationAttribute class with multiple dependencies.

Definition

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

Parameters

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

Exceptions

ArgumentNullExceptionarguments is .

See Also