Optimization : NDesk.Options Namespace

OptionSet Class

Documentation for this section has not yet been entered.

public class OptionSet : System.Collections.ObjectModel.KeyedCollection<string, Option>

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Members

See Also: Inherited members from System.Collections.ObjectModel.KeyedCollection<string, Option>.

Public Constructors

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Public Properties

[read-only]
MessageLocalizer Converter<string, string> . Documentation for this section has not yet been entered.

Public Methods

Add (Option) : OptionSet
Documentation for this section has not yet been entered.
Add (string, OptionAction<string, string>) : OptionSet
Documentation for this section has not yet been entered.
Add (string, Action<string>) : OptionSet
Documentation for this section has not yet been entered.
Add (string, string, OptionAction<string, string>) : OptionSet
Documentation for this section has not yet been entered.
Add (string, string, Action<string>) : OptionSet
Documentation for this section has not yet been entered.
Add<T> (string, Action<T>) : OptionSet
Documentation for this section has not yet been entered.
Add<T> (string, string, Action<T>) : OptionSet
Documentation for this section has not yet been entered.
Add<TKey,TValue> (string, OptionAction<TKey, TValue>) : OptionSet
Documentation for this section has not yet been entered.
Add<TKey,TValue> (string, string, OptionAction<TKey, TValue>) : OptionSet
Documentation for this section has not yet been entered.
Parse (IEnumerable<string>) : List<string>
Documentation for this section has not yet been entered.
WriteOptionDescriptions (System.IO.TextWriter)
Documentation for this section has not yet been entered.

Protected Methods

CreateOptionContext () : OptionContext
Documentation for this section has not yet been entered.
override
GetKeyForItem (Option) : string
Documentation for this section has not yet been entered.
GetOptionForName (string) : Option
Documentation for this section has not yet been entered.
GetOptionParts (string, out string, out string, out string, out string) : bool
Documentation for this section has not yet been entered.
override
InsertItem (int, Option)
Documentation for this section has not yet been entered.
Parse (string, OptionContext) : bool
Documentation for this section has not yet been entered.
override
RemoveItem (int)
Documentation for this section has not yet been entered.
override
SetItem (int, Option)
Documentation for this section has not yet been entered.

Member Details

OptionSet Constructor

Documentation for this section has not yet been entered.

public OptionSet ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

OptionSet Constructor

Documentation for this section has not yet been entered.

public OptionSet (Converter<string, string> localizer)

Parameters

localizer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add Method

Documentation for this section has not yet been entered.

public OptionSet Add (Option option)

Parameters

option
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add Method

Documentation for this section has not yet been entered.

public OptionSet Add (string prototype, OptionAction<string, string> action)

Parameters

prototype
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add Method

Documentation for this section has not yet been entered.

public OptionSet Add (string prototype, Action<string> action)

Parameters

prototype
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add Method

Documentation for this section has not yet been entered.

public OptionSet Add (string prototype, string description, OptionAction<string, string> action)

Parameters

prototype
Documentation for this section has not yet been entered.
description
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add Method

Documentation for this section has not yet been entered.

public OptionSet Add (string prototype, string description, Action<string> action)

Parameters

prototype
Documentation for this section has not yet been entered.
description
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add<T> Generic Method

Documentation for this section has not yet been entered.

public OptionSet Add<T> (string prototype, Action<T> action)

Type Parameters

T
Documentation for this section has not yet been entered.

Parameters

prototype
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add<T> Generic Method

Documentation for this section has not yet been entered.

public OptionSet Add<T> (string prototype, string description, Action<T> action)

Type Parameters

T
Documentation for this section has not yet been entered.

Parameters

prototype
Documentation for this section has not yet been entered.
description
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add<TKey,TValue> Generic Method

Documentation for this section has not yet been entered.

public OptionSet Add<TKey, TValue> (string prototype, OptionAction<TKey, TValue> action)

Type Parameters

TKey
Documentation for this section has not yet been entered.
TValue
Documentation for this section has not yet been entered.

Parameters

prototype
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Add<TKey,TValue> Generic Method

Documentation for this section has not yet been entered.

public OptionSet Add<TKey, TValue> (string prototype, string description, OptionAction<TKey, TValue> action)

Type Parameters

TKey
Documentation for this section has not yet been entered.
TValue
Documentation for this section has not yet been entered.

Parameters

prototype
Documentation for this section has not yet been entered.
description
Documentation for this section has not yet been entered.
action
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

CreateOptionContext Method

Documentation for this section has not yet been entered.

protected virtual OptionContext CreateOptionContext ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

GetKeyForItem Method

Documentation for this section has not yet been entered.

protected override string GetKeyForItem (Option item)

Parameters

item
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

GetOptionForName Method

Documentation for this section has not yet been entered.

[System.Obsolete("Use KeyedCollection.this[string]")]
protected Option GetOptionForName (string option)

Parameters

option
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

GetOptionParts Method

Documentation for this section has not yet been entered.

protected bool GetOptionParts (string argument, out string flag, out string name, out string sep, out string value)

Parameters

argument
Documentation for this section has not yet been entered.
flag
Documentation for this section has not yet been entered.
name
Documentation for this section has not yet been entered.
sep
Documentation for this section has not yet been entered.
value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

InsertItem Method

Documentation for this section has not yet been entered.

protected override void InsertItem (int index, Option item)

Parameters

index
Documentation for this section has not yet been entered.
item
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

MessageLocalizer Property

Documentation for this section has not yet been entered.

public Converter<string, string> MessageLocalizer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Parse Method

Documentation for this section has not yet been entered.

public List<string> Parse (IEnumerable<string> arguments)

Parameters

arguments
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

Parse Method

Documentation for this section has not yet been entered.

protected virtual bool Parse (string argument, OptionContext c)

Parameters

argument
Documentation for this section has not yet been entered.
c
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

RemoveItem Method

Documentation for this section has not yet been entered.

protected override void RemoveItem (int index)

Parameters

index
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

SetItem Method

Documentation for this section has not yet been entered.

protected override void SetItem (int index, Option item)

Parameters

index
Documentation for this section has not yet been entered.
item
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)

WriteOptionDescriptions Method

Documentation for this section has not yet been entered.

public void WriteOptionDescriptions (System.IO.TextWriter o)

Parameters

o
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NDesk.Options
Assembly: Optimization (in Optimization.dll)