mscorlib(4.0.0.0) API with additions
|
Represents a collection of keys each mapped to one or more values. More...
Public Member Functions | |
bool | Contains (TKey key) |
Determines whether a specified key is in the T:System.Linq.Lookup`2. More... | |
IEnumerator< IGrouping< TKey, TElement > > | GetEnumerator () |
Returns a generic enumerator that iterates through the T:System.Linq.Lookup`2. More... | |
IEnumerable< TResult > | ApplyResultSelector< TResult > (Func< TKey, IEnumerable< TElement >, TResult > resultSelector) |
Applies a transform function to each key and its associated values and returns the results. More... | |
Properties | |
int | Count [get] |
Gets the number of key/value collection pairs in the T:System.Linq.Lookup`2. More... | |
IEnumerable< TElement > | this[TKey key] [get] |
Gets the collection of values indexed by the specified key. More... | |
![]() | |
int | Count [get] |
Gets the number of key/value collection pairs in the T:System.Linq.ILookup`2. More... | |
IEnumerable< TElement > | this[TKey key] [get] |
Gets the T:System.Collections.Generic.IEnumerable`1 sequence of values indexed by a specified key. More... | |
Represents a collection of keys each mapped to one or more values.
TKey | The type of the keys in the T:System.Linq.Lookup`2. |
TElement | The type of the elements of each T:System.Collections.Generic.IEnumerable`1 value in the T:System.Linq.Lookup`2. |
IEnumerable<TResult> System.Linq.Lookup< TKey, TElement >.ApplyResultSelector< TResult > | ( | Func< TKey, IEnumerable< TElement >, TResult > | resultSelector | ) |
Applies a transform function to each key and its associated values and returns the results.
resultSelector | A function to project a result value from each key and its associated values. |
TResult | The type of the result values produced by resultSelector . |
bool System.Linq.Lookup< TKey, TElement >.Contains | ( | TKey | key | ) |
Determines whether a specified key is in the T:System.Linq.Lookup`2.
key | The key to find in the T:System.Linq.Lookup`2. |
true
if key is in the T:System.Linq.Lookup`2; otherwise, false
.Implements System.Linq.ILookup< TKey, TElement >.
IEnumerator<IGrouping<TKey, TElement> > System.Linq.Lookup< TKey, TElement >.GetEnumerator | ( | ) |
Returns a generic enumerator that iterates through the T:System.Linq.Lookup`2.
Implements System.Collections.IEnumerable.
|
get |
|
get |