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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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