OpenTAP 9.27
API Reference
|
When used on a property inside a ICliAction, this attribute indicates a command line arugment or switch. More...
Inherits Attribute.
Public Member Functions | |
CommandLineArgumentAttribute (string name) | |
Primary constructor. More... | |
When used on a property inside a ICliAction, this attribute indicates a command line arugment or switch.
The property type can be: bool, string, or string[]. If it's bool the argument will not take an argument, but will instead set the property to true. If it's a string the value of the property will be set to the first occuring value set in the CLI arguments. If it's a string[] all values set in the CLI arguments will be concatenated into an array.
|
inline |
Primary constructor.
name | Long name of the argument. |
OpenTAP 9.27 API built Wed Nov 27 2024 13:14:46