|
| OptionSet () |
|
| OptionSet (Converter< string, string > localizer) |
|
new OptionSet | Add (Option option) |
|
OptionSet | Add (string prototype, Action< string > action) |
|
OptionSet | Add (string prototype, string description, Action< string > action) |
|
OptionSet | Add (string prototype, OptionAction< string, string > action) |
|
OptionSet | Add (string prototype, string description, OptionAction< string, string > action) |
|
OptionSet | Add< T > (string prototype, Action< T > action) |
|
OptionSet | Add< T > (string prototype, string description, Action< T > action) |
|
OptionSet | Add< TKey, TValue > (string prototype, OptionAction< TKey, TValue > action) |
|
OptionSet | Add< TKey, TValue > (string prototype, string description, OptionAction< TKey, TValue > action) |
|
List< string > | Parse (IEnumerable< string > arguments) |
|
void | WriteOptionDescriptions (TextWriter o) |
|
|
static bool | Unprocessed (ICollection< string > extra, Option def, OptionContext c, string argument) |
|
static void | Invoke (OptionContext c, string name, string value, Option option) |
|
static int | GetNextOptionIndex (string[] names, int i) |
|
static void | Write (TextWriter o, ref int n, string s) |
|
static string | GetArgumentName (int index, int maxIndex, string description) |
|
static string | GetDescription (string description) |
|
static IEnumerable< string > | GetLines (string description) |
|
static bool | IsEolChar (char c) |
|
static int | GetLineEnd (int start, int length, string description) |
|
Mono.Options.OptionSet.OptionSet |
( |
| ) |
|
|
inline |
Mono.Options.OptionSet.OptionSet |
( |
Converter< string, string > |
localizer | ) |
|
|
inline |
override string Mono.Options.OptionSet.GetKeyForItem |
( |
Option |
item | ) |
|
|
inlineprotected |
Option Mono.Options.OptionSet.GetOptionForName |
( |
string |
option | ) |
|
|
inlineprotected |
override void Mono.Options.OptionSet.InsertItem |
( |
int |
index, |
|
|
Option |
item |
|
) |
| |
|
inlineprotected |
override void Mono.Options.OptionSet.RemoveItem |
( |
int |
index | ) |
|
|
inlineprotected |
override void Mono.Options.OptionSet.SetItem |
( |
int |
index, |
|
|
Option |
item |
|
) |
| |
|
inlineprotected |
void Mono.Options.OptionSet.AddImpl |
( |
Option |
option | ) |
|
|
inlineprivate |
OptionSet Mono.Options.OptionSet.Add |
( |
string |
prototype, |
|
|
Action< string > |
action |
|
) |
| |
|
inline |
OptionSet Mono.Options.OptionSet.Add |
( |
string |
prototype, |
|
|
string |
description, |
|
|
Action< string > |
action |
|
) |
| |
|
inline |
OptionSet Mono.Options.OptionSet.Add |
( |
string |
prototype, |
|
|
OptionAction< string, string > |
action |
|
) |
| |
|
inline |
OptionSet Mono.Options.OptionSet.Add |
( |
string |
prototype, |
|
|
string |
description, |
|
|
OptionAction< string, string > |
action |
|
) |
| |
|
inline |
virtual OptionContext Mono.Options.OptionSet.CreateOptionContext |
( |
| ) |
|
|
inlineprotectedvirtual |
List<string> Mono.Options.OptionSet.Parse |
( |
IEnumerable< string > |
arguments | ) |
|
|
inline |
bool Mono.Options.OptionSet.GetOptionParts |
( |
string |
argument, |
|
|
out string |
flag, |
|
|
out string |
name, |
|
|
out string |
sep, |
|
|
out string |
value |
|
) |
| |
|
inlineprotected |
virtual bool Mono.Options.OptionSet.Parse |
( |
string |
argument, |
|
|
OptionContext |
c |
|
) |
| |
|
inlineprotectedvirtual |
void Mono.Options.OptionSet.ParseValue |
( |
string |
option, |
|
|
OptionContext |
c |
|
) |
| |
|
inlineprivate |
bool Mono.Options.OptionSet.ParseBool |
( |
string |
option, |
|
|
string |
n, |
|
|
OptionContext |
c |
|
) |
| |
|
inlineprivate |
bool Mono.Options.OptionSet.ParseBundledValue |
( |
string |
f, |
|
|
string |
n, |
|
|
OptionContext |
c |
|
) |
| |
|
inlineprivate |
static void Mono.Options.OptionSet.Invoke |
( |
OptionContext |
c, |
|
|
string |
name, |
|
|
string |
value, |
|
|
Option |
option |
|
) |
| |
|
inlinestaticprivate |
void Mono.Options.OptionSet.WriteOptionDescriptions |
( |
TextWriter |
o | ) |
|
|
inline |
bool Mono.Options.OptionSet.WriteOptionPrototype |
( |
TextWriter |
o, |
|
|
Option |
p, |
|
|
ref int |
written |
|
) |
| |
|
inlineprivate |
static int Mono.Options.OptionSet.GetNextOptionIndex |
( |
string[] |
names, |
|
|
int |
i |
|
) |
| |
|
inlinestaticprivate |
static void Mono.Options.OptionSet.Write |
( |
TextWriter |
o, |
|
|
ref int |
n, |
|
|
string |
s |
|
) |
| |
|
inlinestaticprivate |
static string Mono.Options.OptionSet.GetArgumentName |
( |
int |
index, |
|
|
int |
maxIndex, |
|
|
string |
description |
|
) |
| |
|
inlinestaticprivate |
static string Mono.Options.OptionSet.GetDescription |
( |
string |
description | ) |
|
|
inlinestaticprivate |
static IEnumerable<string> Mono.Options.OptionSet.GetLines |
( |
string |
description | ) |
|
|
inlinestaticprivate |
static bool Mono.Options.OptionSet.IsEolChar |
( |
char |
c | ) |
|
|
inlinestaticprivate |
static int Mono.Options.OptionSet.GetLineEnd |
( |
int |
start, |
|
|
int |
length, |
|
|
string |
description |
|
) |
| |
|
inlinestaticprivate |
Converter<string, string> Mono.Options.OptionSet.localizer |
|
private |
readonly Regex Mono.Options.OptionSet.ValueOption |
|
private |
Initial value:= new Regex (
@"^(?<flag>--|-|/)(?<name>[^:=]+)((?<sep>[:=])(?<value>.*))?$")
const int Mono.Options.OptionSet.OptionWidth = 29 |
|
private |
Converter<string, string> Mono.Options.OptionSet.MessageLocalizer |
|
get |
The documentation for this class was generated from the following file:
- unittests/NUnit_3_0_1_src/src/Common/nunit/Options.cs