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