Parse args[] received by the main function.
Namespace:
Suoranta.EnterpriseLib.AppDomain
Assembly:
Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)
public virtual bool Parse(
string[] originalArgs
)
Parameters
- originalArgs
- Type: array<String>[]()[][]
Basic implementation of parsing without typecasting. Switches that were not followed
by non-switch value are interpreted as boolean true (switch is present). Values followed
by switch are stored as strings.
TypedArgument sequence
-Path c:\ -Recurse -Option1 value1 value2
will yield
- Path = "c:\"
- Recurse = true
- Option1 = value1
- ValueAt5 = value2