Class for parsing command line parameters
More...
|
static readonly string | HelpFlag = "?" |
| Help Flag identifier string More...
|
|
static readonly string | FullAddress = "address" |
| Device Identifier identifier string More...
|
|
static readonly string | WdpUser = "user" |
| WDP Username identifier string More...
|
|
static readonly string | WdpPassword = "pwd" |
| WDP Password identifier string More...
|
|
Class for parsing command line parameters
string MockDataGenerator.ParameterHelper.GetParameterValue |
( |
string |
key | ) |
|
|
inline |
Helper for getting a parameter value for a key
- Parameters
-
- Returns
- parameter value or null if not present
bool MockDataGenerator.ParameterHelper.HasFlag |
( |
string |
flag | ) |
|
|
inline |
Helper for determining if a flag is set
- Parameters
-
- Returns
- boolean indicating if the flag is set
bool MockDataGenerator.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 MockDataGenerator.ParameterHelper.ParseCommandLine |
( |
string[] |
args | ) |
|
|
inline |
Main entry for parsing a command line array
- Parameters
-
readonly string MockDataGenerator.ParameterHelper.FullAddress = "address" |
|
static |
Device Identifier identifier string
readonly string MockDataGenerator.ParameterHelper.HelpFlag = "?" |
|
static |
Help Flag identifier string
readonly string MockDataGenerator.ParameterHelper.WdpPassword = "pwd" |
|
static |
WDP Password identifier string
readonly string MockDataGenerator.ParameterHelper.WdpUser = "user" |
|
static |
WDP Username identifier string
The documentation for this class was generated from the following file:
- WindowsDevicePortalWrapper/MockDataGenerator/ParameterHelper.cs