ConsoleArguments¶
Console arguments to be parsed at program startup.
Methods¶
ConsoleArguments Add(string prototype, Action setOptionValue, string description, string propertyName)¶
Add an argument to the list of known arguments v => PropertyName = v
v => PropertyName = !string.IsNullOrEmpty(v)
v => PropertyName.Add(v)
ConsoleArguments Add(string prototype, Action setOptionValue, string description, string propertyName, Nullable required, bool exitIfUsed)¶
Add an argument to the list of known arguments v => PropertyName = v
v => PropertyName = !string.IsNullOrEmpty(v)
v => PropertyName.Add(v)
ConsoleArguments Add(string prototype, Action setOptionValue, string description, string propertyName, Func getIsRequired, bool exitIfUsed)¶
Add an argument to the list of known arguments v => PropertyName = v
v => PropertyName = !string.IsNullOrEmpty(v)
v => PropertyName.Add(v)
ConsoleArguments Insert(int index, ICustomArgument argument)¶
Insert Common Argument
ConsoleArguments Add(ICustomArgument argument)¶
Add Common Argument