Class VerbOptionAttribute
Models a verb option.
Namespace: Swan.Parsers
Syntax
public sealed class VerbOptionAttribute : Attribute
Constructors
VerbOptionAttribute(String)
Initializes a new instance of the VerbOptionAttribute class.
Declaration
public VerbOptionAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name. |
Properties
HelpText
Gets or sets a short description of this command line verb. Usually a sentence summary.
Declaration
public string HelpText { get; set; }
Property Value
Type | Description |
---|---|
String | The help text. |
Name
Gets the name of the verb option.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | Name. |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |