Edit

Share via


Argument Constructors

Definition

Overloads

Argument()

Initializes a new instance of the Argument class.

Argument(String, String)

Initializes a new instance of the Argument class.

Argument()

Source:
Argument.cs

Initializes a new instance of the Argument class.

protected Argument();

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)

Argument(String, String)

Source:
Argument.cs

Initializes a new instance of the Argument class.

protected Argument(string? name = default, string? description = default);

Parameters

name
String

The name of the argument.

description
String

The description of the argument, shown in help.

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)