<Type Name="OptionSet" FullName="Mono.Options.OptionSet">
<TypeSignature Language="C#" Value="public class OptionSet : System.Collections.ObjectModel.KeyedCollection<string,Mono.Options.Option>" />
+ <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit OptionSet extends System.Collections.ObjectModel.KeyedCollection`2<string, class Mono.Options.Option>" />
<AssemblyInfo>
<AssemblyName>Mono.Options</AssemblyName>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ThreadingSafetyStatement>
All public static members of this type are safe for multithreaded
<Base>
<BaseTypeName>System.Collections.ObjectModel.KeyedCollection<System.String,Mono.Options.Option></BaseTypeName>
<BaseTypeArguments>
- <BaseTypeArgument TypeParamName="TKey">System.String</BaseTypeArgument>
- <BaseTypeArgument TypeParamName="TItem">Mono.Options.Option</BaseTypeArgument>
+ <BaseTypeArgument TypeParamName="!0">System.String</BaseTypeArgument>
+ <BaseTypeArgument TypeParamName="!1">Mono.Options.Option</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces />
arguments which were not matched by a registered
<see cref="T:Mono.Options.Option" />.
</para>
+ <para>
+ Response files, as used by <c>mcs</c> and other compiler tools, may be
+ supported by using <see cref="T:Mono.Options.ResponseFileSource" />.
+ </para>
<para>
Three conditions must be met for a sequence of arguments to be
considered as a match for an <see cref="T:Mono.Options.Option" />:
</para>
<code lang="C#" src="examples/greet.cs">using System;
using System.Collections.Generic;
-using Mono.Options;
+using NDesk.Options;
class Test {
static int verbosity;
<code lang="C#" src="examples/bundling.cs">using System;
using System.Linq;
using System.Collections.Generic;
-using Mono.Options;
+using NDesk.Options;
class Test {
public static void Main (string[] args)
<code lang="C#" src="examples/subclass.cs">// Case-Insensitive and Concatenating OptionSet
using System;
using System.Collections.Generic;
-using Mono.Options;
+using NDesk.Options;
class DemoOptionSet : OptionSet {
protected override void InsertItem (int index, Option item)
</item>
</list>
</example>
+ <altmember cref="T:Mono.Options.ResponseFileSource" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public OptionSet ();" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public OptionSet (Converter<string,string> localizer);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Converter`2<string, string> localizer) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="localizer" Type="System.Converter<System.String,System.String>" />
See the following example, which demonstrates how different
localizers alter the program output.
</para>
- <code lang="C#" src="examples/localization.cs">// Localization with Mono.Options.OptionSet.
+ <code lang="C#" src="examples/localization.cs">// Localization with NDesk.Options.OptionSet.
//
// Compile as:
-// gmcs -r:Mono.Posix.dll -r:Mono.Options.dll code-localization.cs
+// gmcs -r:Mono.Posix.dll -r:NDesk.Options.dll code-localization.cs
using System;
using System.IO;
using Mono.Unix;
-using Mono.Options;
+using NDesk.Options;
class LocalizationDemo {
public static void Main (string[] args)
if (help)
p.WriteOptionDescriptions (Console.Out);
if (version)
- Console.WriteLine ("Mono.Options Localizer Demo 1.0");
+ Console.WriteLine ("NDesk.Options Localizer Demo 1.0");
if (verbose > 0)
Console.WriteLine ("Message level: {0}", verbose);
}
-v, --verbose increase message verbosity.
-n=VALUE must be an int
-V, --version output version information and exit.
-Mono.Options Localizer Demo 1.0
+NDesk.Options Localizer Demo 1.0
$ LANGUAGE=es mono localization.exe --with-gettext --help --version
-h, -?, --help A mostrar este mensaje y salir.
-v, --verbose Aumento mensaje verbosidad.
-n=VALUE Debe ser un int
-V, --version Salida de informaciĆ³n de versiĆ³n y sale.
-Mono.Options Localizer Demo 1.0
+NDesk.Options Localizer Demo 1.0
$ mono localization.exe --with-hello --help --version
-h, -?, --help hello:show this message and exit.
-v, --verbose hello:increase message verbosity.
-nhello:=VALUE hello:must be an int
-V, --version hello:output version information and exit.
-Mono.Options Localizer Demo 1.0
+NDesk.Options Localizer Demo 1.0
$ mono localization.exe -n not-an-int
localization: Could not convert string `not-an-int' to type Int32 for option `-n'.
</example>
</Docs>
</Member>
+ <Member MemberName="Add">
+ <MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add (Mono.Options.ArgumentSource source);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add(class Mono.Options.ArgumentSource source) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>Mono.Options.OptionSet</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="source" Type="Mono.Options.ArgumentSource" />
+ </Parameters>
+ <Docs>
+ <param name="source">
+ A <see cref="T:Mono.Options.ArgumentSource" /> to register for
+ argument processing.
+ </param>
+ <summary>
+ Registers <paramref name="source" /> so that it may be consulted
+ during argument processing within
+ <see cref="M:Mono.Options.OptionSet.Parse(System.Collections.Generic.IEnumerable{System.String})" />.
+ </summary>
+ <returns>
+ The current <see cref="T:Mono.Options.OptionSet" /> instance.
+ This is to permit method chaining.
+ </returns>
+ <remarks>
+ </remarks>
+ <exception cref="T:System.ArgumentNullException">
+ <paramref name="option" /> is <see langword="null" />.
+ </exception>
+ </Docs>
+ </Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add (Mono.Options.Option option);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add(class Mono.Options.Option option) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add (string prototype, Mono.Options.OptionAction<string,string> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add(string prototype, class Mono.Options.OptionAction`2<string, string> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add (string prototype, Action<string> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add(string prototype, class System.Action`1<string> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add (string prototype, string description, Mono.Options.OptionAction<string,string> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add(string prototype, string description, class Mono.Options.OptionAction`2<string, string> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add (string prototype, string description, Action<string> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add(string prototype, string description, class System.Action`1<string> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</Member>
<Member MemberName="Add<T>">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add<T> (string prototype, Action<T> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add<T>(string prototype, class System.Action`1<!!T> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</ReturnValue>
+ <TypeParameters>
+ <TypeParameter Name="T" />
+ </TypeParameters>
<Parameters>
<Parameter Name="prototype" Type="System.String" />
<Parameter Name="action" Type="System.Action<T>" />
a previously registered <see cref="T:Mono.Options.Option" />.
</exception>
</Docs>
- <TypeParameters>
- <TypeParameter Name="T" />
- </TypeParameters>
</Member>
<Member MemberName="Add<T>">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add<T> (string prototype, string description, Action<T> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add<T>(string prototype, string description, class System.Action`1<!!T> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</ReturnValue>
+ <TypeParameters>
+ <TypeParameter Name="T" />
+ </TypeParameters>
<Parameters>
<Parameter Name="prototype" Type="System.String" />
<Parameter Name="description" Type="System.String" />
<paramref name="action" /> is <see langword="null" /></para>
</exception>
</Docs>
- <TypeParameters>
- <TypeParameter Name="T" />
- </TypeParameters>
</Member>
<Member MemberName="Add<TKey,TValue>">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add<TKey,TValue> (string prototype, Mono.Options.OptionAction<TKey,TValue> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add<TKey, TValue>(string prototype, class Mono.Options.OptionAction`2<!!TKey, !!TValue> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</ReturnValue>
+ <TypeParameters>
+ <TypeParameter Name="TKey" />
+ <TypeParameter Name="TValue" />
+ </TypeParameters>
<Parameters>
<Parameter Name="prototype" Type="System.String" />
<Parameter Name="action" Type="Mono.Options.OptionAction<TKey,TValue>" />
<paramref name="action" /> is <see langword="null" /></para>
</exception>
</Docs>
- <TypeParameters>
- <TypeParameter Name="TKey" />
- <TypeParameter Name="TValue" />
- </TypeParameters>
</Member>
<Member MemberName="Add<TKey,TValue>">
<MemberSignature Language="C#" Value="public Mono.Options.OptionSet Add<TKey,TValue> (string prototype, string description, Mono.Options.OptionAction<TKey,TValue> action);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.Options.OptionSet Add<TKey, TValue>(string prototype, string description, class Mono.Options.OptionAction`2<!!TKey, !!TValue> action) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionSet</ReturnType>
</ReturnValue>
+ <TypeParameters>
+ <TypeParameter Name="TKey" />
+ <TypeParameter Name="TValue" />
+ </TypeParameters>
<Parameters>
<Parameter Name="prototype" Type="System.String" />
<Parameter Name="description" Type="System.String" />
<paramref name="action" /> is <see langword="null" /></para>
</exception>
</Docs>
- <TypeParameters>
- <TypeParameter Name="TKey" />
- <TypeParameter Name="TValue" />
- </TypeParameters>
+ </Member>
+ <Member MemberName="ArgumentSources">
+ <MemberSignature Language="C#" Value="public System.Collections.ObjectModel.ReadOnlyCollection<Mono.Options.ArgumentSource> ArgumentSources { get; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.ReadOnlyCollection`1<class Mono.Options.ArgumentSource> ArgumentSources" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Collections.ObjectModel.ReadOnlyCollection<Mono.Options.ArgumentSource></ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>
+ A collection of all
+ <see cref="T:Mono.Options.ArgumentSource" />s which will be consulted during
+ <see cref="M:Mono.Options.OptionSet.Parse(System.Collections.Generic.IEnumerable{System.String})" />
+ processing.
+ </summary>
+ <value>
+ A <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection{Mono.Options.ArgumentSource}" />
+ containing all <see cref="T:Mono.Options.ArgumentSource" />s which
+ have been
+ <see cref="M:Mono.Options.OptionSet.Add(Mono.Options.ArgumentSource)" />ed.
+ </value>
+ <remarks>
+ </remarks>
+ </Docs>
</Member>
<Member MemberName="CreateOptionContext">
<MemberSignature Language="C#" Value="protected virtual Mono.Options.OptionContext CreateOptionContext ();" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class Mono.Options.OptionContext CreateOptionContext() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Mono.Options.OptionContext</ReturnType>
</Member>
<Member MemberName="GetKeyForItem">
<MemberSignature Language="C#" Value="protected override string GetKeyForItem (Mono.Options.Option item);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance string GetKeyForItem(class Mono.Options.Option item) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</Member>
<Member MemberName="GetOptionForName">
<MemberSignature Language="C#" Value="protected Mono.Options.Option GetOptionForName (string option);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig instance class Mono.Options.Option GetOptionForName(string option) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
+ <Attributes>
+ <Attribute>
+ <AttributeName>System.Obsolete("Use KeyedCollection.this[string]")</AttributeName>
+ </Attribute>
+ </Attributes>
<ReturnValue>
<ReturnType>Mono.Options.Option</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="option" Type="System.String" />
</Parameters>
- <Attributes>
- <Attribute>
- <AttributeName>System.Obsolete("Use KeyedCollection.this[string]")</AttributeName>
- </Attribute>
- </Attributes>
<Docs>
<param name="option">
A <see cref="T:System.String" /> containing the option name to
</Member>
<Member MemberName="GetOptionParts">
<MemberSignature Language="C#" Value="protected bool GetOptionParts (string argument, out string flag, out string name, out string sep, out string value);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig instance bool GetOptionParts(string argument, string flag, string name, string sep, string value) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</Member>
<Member MemberName="InsertItem">
<MemberSignature Language="C#" Value="protected override void InsertItem (int index, Mono.Options.Option item);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void InsertItem(int32 index, class Mono.Options.Option item) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</Member>
<Member MemberName="MessageLocalizer">
<MemberSignature Language="C#" Value="public Converter<string,string> MessageLocalizer { get; }" />
+ <MemberSignature Language="ILAsm" Value=".property instance class System.Converter`2<string, string> MessageLocalizer" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Converter<System.String,System.String></ReturnType>
</Member>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public System.Collections.Generic.List<string> Parse (System.Collections.Generic.IEnumerable<string> arguments);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Collections.Generic.List`1<string> Parse(class System.Collections.Generic.IEnumerable`1<string> arguments) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.List<System.String></ReturnType>
containing all unhandled arguments.
</returns>
<remarks>
+ <para>
+ <c>Parse</c> looks at each argument from <paramref name="arguments" /> in order, passing each argument to each
+ <see cref="T:Mono.Options.ArgumentSource" /> within
+ <see cref="P:Mono.Options.OptionSet.ArgumentSources" /> using
+ <see cref="M:Mono.Options.ArgumentSource.GetArguments(System.Int32, System.Collections.Generic.IEnumerable{System.String}@)" />
+ until a source returns <see langword="true" /> (and the
+ replacement sequence is used) or no <c>ArgumentSource</c> supports
+ the argument. <c>Parse</c> then attempts to process argument as
+ an option.
+ </para>
<para>
An argument is unhandled if:
</para>
</para>
<code lang="C#" src="examples/greet.cs">using System;
using System.Collections.Generic;
-using Mono.Options;
+using NDesk.Options;
class Test {
static int verbosity;
</Member>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="protected virtual bool Parse (string argument, Mono.Options.OptionContext c);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool Parse(string argument, class Mono.Options.OptionContext c) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</Member>
<Member MemberName="RemoveItem">
<MemberSignature Language="C#" Value="protected override void RemoveItem (int index);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void RemoveItem(int32 index) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</Member>
<Member MemberName="SetItem">
<MemberSignature Language="C#" Value="protected override void SetItem (int index, Mono.Options.Option item);" />
+ <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void SetItem(int32 index, class Mono.Options.Option item) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</Member>
<Member MemberName="WriteOptionDescriptions">
<MemberSignature Language="C#" Value="public void WriteOptionDescriptions (System.IO.TextWriter o);" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void WriteOptionDescriptions(class System.IO.TextWriter o) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
+ <AssemblyVersion>0.2.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
more than one value, the leading number is used to specify which
value the string is for.
</para>
+ <para>
+ Once all <see cref="T:Mono.Options.Option" />s have been written,
+ all <see cref="T:Mono.Options.ArgumentSource" />s are printed out
+ using <see cref="M:Mono.Options.ArgumentSource.GetNames" /> and
+ <see cref="P:Mono.Options.ArgumentSource.Description" />.
+ </para>
</remarks>
<example>
<para>
</para>
<code lang="C#" src="examples/greet.cs">using System;
using System.Collections.Generic;
-using Mono.Options;
+using NDesk.Options;
class Test {
static int verbosity;