Defines an indexer, size property, and Boolean search method for data structures that map keys to T:System.Collections.Generic.IEnumerable`1 sequences of values.
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...
|
|
Defines an indexer, size property, and Boolean search method for data structures that map keys to T:System.Collections.Generic.IEnumerable`1 sequences of values.
- Template Parameters
-
TKey | The type of the keys in the T:System.Linq.ILookup`2. |
TElement | The type of the elements in the T:System.Collections.Generic.IEnumerable`1 sequences that make up the values in the T:System.Linq.ILookup`2. |
Definition at line 10 of file ILookup.cs.
◆ Contains()
Determines whether a specified key exists in the T:System.Linq.ILookup`2.
- Parameters
-
key | The key to search for in the T:System.Linq.ILookup`2. |
- Returns
true
if key is in the T:System.Linq.ILookup`2; otherwise, false
.
Implemented in System.Linq.Lookup< TKey, TElement >.
◆ Count
Gets the number of key/value collection pairs in the T:System.Linq.ILookup`2.
- Returns
- The number of key/value collection pairs in the T:System.Linq.ILookup`2.
Definition at line 16 of file ILookup.cs.
◆ this[TKey key]
Gets the T:System.Collections.Generic.IEnumerable`1 sequence of values indexed by a specified key.
- Parameters
-
key | The key of the desired sequence of values. |
- Returns
- The T:System.Collections.Generic.IEnumerable`1 sequence of values indexed by the specified key.
Definition at line 26 of file ILookup.cs.
The documentation for this interface was generated from the following file: