Class for parsing command line parameters
More...
|
static readonly string | HelpFlag = "?" |
| Help Flag identifier string More...
|
|
static readonly string | VerboseFlag = "v" |
| Verbose Flag identifier string More...
|
|
static readonly string | Operation = "op" |
| Operation type identifier string More...
|
|
static readonly string | IpOrHostname = "x" |
| Device Identifier identifier string More...
|
|
static readonly string | IpOrHostnameOld = "ip" |
| Old Device Identifier identifier string. This allows us to accept both ip or x. More...
|
|
static readonly string | WdpUser = "user" |
| WDP Username identifier string More...
|
|
static readonly string | WdpPassword = "pwd" |
| WDP Password identifier string More...
|
|
static readonly string | Listen = "listen" |
| Listen (use web socket) Flag identifier string. More...
|
|
static readonly string | Cert = "certfile" |
| Optional manual Cert file identifier string. More...
|
|
Class for parsing command line parameters
void XboxWdpDriver.ParameterHelper.AddParameter |
( |
string |
name, |
|
|
string |
value |
|
) |
| |
|
inline |
Adds a new parameter.
- Parameters
-
name | The name of the parameter we are adding. |
value | The value of that parameter. |
string XboxWdpDriver.ParameterHelper.GetParameterValue |
( |
string |
key | ) |
|
|
inline |
Helper for getting a parameter value for a key
- Parameters
-
- Returns
- parameter value or null if not present
bool XboxWdpDriver.ParameterHelper.HasFlag |
( |
string |
flag | ) |
|
|
inline |
Helper for determining if a flag is set
- Parameters
-
- Returns
- boolean indicating if the flag is set
bool XboxWdpDriver.ParameterHelper.HasParameter |
( |
string |
key | ) |
|
|
inline |
Helper for determining if we have a value for a parameter
- Parameters
-
- Returns
- boolean indicating if the parameter is present
void XboxWdpDriver.ParameterHelper.ParseCommandLine |
( |
string[] |
args | ) |
|
|
inline |
Main entry for parsing a command line array
- Parameters
-
readonly string XboxWdpDriver.ParameterHelper.Cert = "certfile" |
|
static |
Optional manual Cert file identifier string.
readonly string XboxWdpDriver.ParameterHelper.HelpFlag = "?" |
|
static |
Help Flag identifier string
readonly string XboxWdpDriver.ParameterHelper.IpOrHostname = "x" |
|
static |
Device Identifier identifier string
readonly string XboxWdpDriver.ParameterHelper.IpOrHostnameOld = "ip" |
|
static |
Old Device Identifier identifier string. This allows us to accept both ip or x.
readonly string XboxWdpDriver.ParameterHelper.Listen = "listen" |
|
static |
Listen (use web socket) Flag identifier string.
readonly string XboxWdpDriver.ParameterHelper.Operation = "op" |
|
static |
Operation type identifier string
readonly string XboxWdpDriver.ParameterHelper.VerboseFlag = "v" |
|
static |
Verbose Flag identifier string
readonly string XboxWdpDriver.ParameterHelper.WdpPassword = "pwd" |
|
static |
WDP Password identifier string
readonly string XboxWdpDriver.ParameterHelper.WdpUser = "user" |
|
static |
WDP Username identifier string
The documentation for this class was generated from the following file:
- Samples/XboxWdpDriver/ParameterHelper.cs