overload for CommandLineOptionCollection.Add

This commit is contained in:
Michael Becker 2021-01-09 22:22:53 -05:00
parent bdecbd93ce
commit 82c2a904ff
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

View File

@ -77,6 +77,10 @@ namespace MBS.Framework
_byAbbreviation[item.Abbreviation] = item;
}
public CommandLineOption Add(string name, CommandLineOptionValueType type = CommandLineOptionValueType.None, object defaultValue = null, char abbreviation = '\0', string description = null)
{
return Add(name, abbreviation, defaultValue, type, description);
}
public CommandLineOption Add(string name, char abbreviation = '\0', object defaultValue = null, CommandLineOptionValueType type = CommandLineOptionValueType.None, string description = null)
{
CommandLineOption option = new CommandLineOption();