DependencyValidationAttributeIsValid Method

Determines if the dependencies are met.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public override sealed bool IsValid(
	CommandLineArgument argument,
	Object? value
)

Parameters

argument  CommandLineArgument
The argument being validated.
value  Object
Not used

Return Value

Boolean
if the value is valid; otherwise, .

Exceptions

InvalidOperationException One of the argument names in the Arguments property refers to an argument that doesn't exist.

See Also