Constructor CommandlineOption
CommandlineOption(String, String, String, CommandlineValue)
Initializes a new instance of the CommandlineOption class.
Declaration
public CommandlineOption(string switchLeader, string name, string delimiter, CommandlineValue value)
Parameters
public CommandlineOption(string switchLeader, string name, string delimiter, CommandlineValue value)
String | switchLeader | The text of the token that started the option (i.e. "-", "--", "/") |
String | name | Name of the option |
String | delimiter | Delimiter between the option and the value (i.e. "=" or ":") |
CommandlineValue | value | Value for the option |
CommandlineOption(String, String, String, String, CommandlineValue)
Initializes a new instance of the CommandlineOption class.
Declaration
public CommandlineOption(string fullText, string switchLeader, string name, string delimiter, CommandlineValue value)
Parameters
public CommandlineOption(string fullText, string switchLeader, string name, string delimiter, CommandlineValue value)
String | fullText | Full text of the option from the command line |
String | switchLeader | The text of the token that started the option (i.e. "-", "--", "/") |
String | name | Name of the option |
String | delimiter | Delimiter between the option and the value (i.e. "=" or ":") |
CommandlineValue | value | Value for the option |