The methods of Mono.Options.OptionSet are listed below. For a list of all members, see the OptionSet Members list.
Add(ArgumentSource)Registers source so that it may be consulted during argument processing within OptionSet.Parse(IEnumerable<string>). | ||
Add(Option)Registers option so that any options matching Option.GetNames will be treated specially by OptionSet.Parse(IEnumerable<string>). | ||
Add(string)Declare a header to be printed during OptionSet.WriteOptionDescriptions(System.IO.TextWriter). | ||
Add(string, OptionAction<string, string>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add(string, Action<string>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add(string, string, OptionAction<string, string>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add(string, string, Action<string>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add(string, string, OptionAction<string, string>, bool)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add(string, string, Action<string>, bool)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add<T>(string, Action<T>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add<T>(string, string, Action<T>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add<TKey,TValue>(string, OptionAction<TKey, TValue>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Add<TKey,TValue>(string, string, OptionAction<TKey, TValue>)Registers each alias within prototype so that any options matching the aliases in prototype will be handled by action during any subsequent OptionSet.Parse(IEnumerable<string>) calls. | ||
Parse(IEnumerable<string>)Parses each string within arguments, invoking any registered actions if a registered option is encountered. | ||
WriteOptionDescriptions(System.IO.TextWriter)Writes Mono.Options.Option documentation to o. | ||
CreateOptionContext()Creates an Mono.Options.OptionContext instance. | ||
override | GetKeyForItem(Option)Returns item.GetNames()[0]. | |
GetOptionForName(string)Looks up the Mono.Options.Option registered to handle the option name option. | ||
GetOptionParts(string, out string, out string, out string, out string)Splits argument into its constituent parts. | ||
override | InsertItem(int, Option)Inserts item at the specified index. | |
Parse(string, OptionContext)Parses argument and invokes Option.Invoke(OptionContext) if appropriate. | ||
override | RemoveItem(int)Removes the Mono.Options.Option at the specified index. | |
override | SetItem(int, Option)Removes the current Mono.Options.Option at index and sets item as the value for the index value. | |