Class CliAttribute
Attribute class to add names for command line options.
Inheritance
System.Object
CliAttribute
Namespace: TeleScope.UI.Cli.Options
Assembly: TeleScope.UI.Cli.dll
Syntax
public class CliAttribute : Attribute
Constructors
| Improve this Doc View SourceCliAttribute()
The default empty constructor.
Declaration
public CliAttribute()
CliAttribute(String, String)
The constructor sets the properties Short and Long of the attribute.
Declaration
public CliAttribute(string shortTerm, string longTerm)
Parameters
Type | Name | Description |
---|---|---|
System.String | shortTerm | |
System.String | longTerm |
Properties
| Improve this Doc View SourceLong
Gets or sets the long term of the command line option. Do not use any special characters, pre- or suffixes.
Declaration
public string Long { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Short
Gets or sets the short term of the command line option. Do not use any special characters, pre- or suffixes.
Declaration
public string Short { get; set; }
Property Value
Type | Description |
---|---|
System.String |