RequiresAnyAttribute(String, String) Constructor

Initializes a new instance of the RequiresAnyAttribute class.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public RequiresAnyAttribute(
	string argument1,
	string argument2
)

Parameters

argument1  String
The name of the first argument.
argument2  String
The name of the second argument.

Remarks

This constructor exists because RequiresAnyAttributeRequiresAnyAttribute(String) is not CLS-compliant.

Exceptions

ArgumentNullExceptionargument1 or argument2 is .

See Also