- prototype
- A string containing all option aliases to register, an (optional) type specifier, and an (optional) value separator list; see Option(string, string, int) for details.
- description
- A string to be used to initialize the Option.Description property.
- action
- A Mono.Options.OptionAction<string, string> to invoke when an option is parsed.
The current Mono.Options.OptionSet instance. This is to permit method chaining.
Type Reason ArgumentException prototype has an alias (as returned from Option.GetNames) that conflicts with a previously registered Mono.Options.Option. ArgumentNullException prototype is null
-or-
action is null
Use this method when prototype should accept two values, generally a key and a value.