Skip to content

ParameterResults ​

Represents a collection of parameter results.

Kind: Class

Namespace: CrowdControl.Common

Inheritance: ICloneable → IEnumerable → IEnumerable<KeyValuePair<string, IParameterValue>> → IEnumerable<string> → IReadOnlyCollection<KeyValuePair<string, IParameterValue>> → IReadOnlyCollection<string> → IReadOnlyDictionary<string, IParameterValue> → IReadOnlyList<string>

Public Constructors

ParameterResults(IEnumerable list)

Creates a new instance of the CrowdControl.Common.ParameterResults class.

ParameterResults(IEnumerable> parameters)

Creates a new instance of the CrowdControl.Common.ParameterResults class.

Public Member Functions

ParameterResults

Clone()

bool

ContainsKey(string key)

bool

TryGetValue(string key, IParameterValue out value)

IEnumerable

Where(Func predicate)

IEnumerable

Select<TResult>(Func selector)

IEnumerable

SelectMany<TResult>(Func> selector)

IEnumerable

SelectMany<TResult>(Func> selector)

string

First()

string

First(Func predicate)

string

FirstOrDefault()

string

FirstOrDefault(string defaultValue)

string

FirstOrDefault(Func predicate)

string

FirstOrDefault(Func predicate, string defaultValue)

bool

Any()

bool

Any(Func predicate)

Public Attributes

ParameterResults

Empty

Empty instance of CrowdControl.Common.ParameterResults.

Properties

string

Item

[get, ]

IParameterValue

Item

[get, ]

IEnumerable

Keys

[get, ]

IEnumerable

Values

[get, ]

int

Count

[get, ]