Click or drag to resize
weroSoft AG, Software
ArgumentStoreBaseParseArguments Method
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Parses the arguments received from the command line.

Namespace:  WeroSoft.Installation
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public virtual void ParseArguments(
	string[] entryPointArguments
)

Parameters

entryPointArguments
Type: SystemString
Array of arguments got from the program entry.
Remarks
The parser recognizes arguments given by slash or by minus character. Even mixed usage is accepted. An argument may be written without or with additional argument data. The argument itself and its data must be separated by a space. If an argument has multiple additional arguments each of them must be separated by space.
Examples
The following arguments are valid:
YourProgram -a 
YourProgram -a -b -q -?
YourProgram -a -b -q -?
YourProgram /a /b /c /q /?
YourProgram /?
YourProgram -a -b /c -q -?
The following valid examples uses simple arguments and arguments leading argument data.
YourPrgoram -a AddArgument
YourProgram -a AddArgument -b -c AddArgumentTo2
YourProgram -a AddArgument -b -c "This is one single argument data"
YourProgram -a AddArgument -b -c Data1 Data2 Data3 "Data 4"
See Also