YArgumentParser(String) Constructor
|
Create a new argument parser engine from an argument string.
Example YArgumentParser argumentParser = new YArgumentParser("\"First value of the main argument\" \"Second value of the main argument\" -s source /d destination -readonly");
In results,
argumentParser will have 4 arguments :
- the main argument which has 2 values
- s argument which has source as value
- d argument which has destination as value
- readonly argument which is set as boolean
Namespace: Upsilon.Common.LibraryAssembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax public YArgumentParser(
string argLine
)
Parameters
- argLine String
- The arguments list as string.
See Also