ILookup<TKey,TElement>
Overview
Linq lookup interface, used by ToLookup. Acts like a dictionary returning enumerables, always returns a value, but should return an empty enumerable for unknown cases.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Ancestry: IEnumerable<RemObjects.Elements.System.IGroupingSequence<TKey,TElement>> | ILookup<TKey,TElement>
Properties
Count
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Int32 Count { __get; }
ReadOnly Property Count() As Int32
Item
property Item[key: TKey]: IEnumerable<TElement> read;
IEnumerable<TElement> Item[TKey key] { get; }
subscript Item(_ key: TKey) -> IEnumerable<TElement> { get{} }
IEnumerable<TElement> Item[TKey key] { __get; }
ReadOnly Property Item(key As TKey) As IEnumerable<TElement>
Required Methods
Contains
method Contains(key: TKey): Boolean
Boolean Contains(TKey key)
func Contains(_ key: TKey) -> Boolean
Boolean Contains(TKey key)
Function Contains(key As TKey) As Boolean
Parameters:
- key:
GetEnumerator (declared in IEnumerable)
Returns the enumerable.
method GetEnumerator: IEnumerator
IEnumerator GetEnumerator()
func GetEnumerator() -> IEnumerator
IEnumerator GetEnumerator()
Function GetEnumerator() As IEnumerator
GetEnumerator (declared in IEnumerable<T>)
Returns the enumerable.
method GetEnumerator: IEnumerator<T>
IEnumerator<T> GetEnumerator()
func GetEnumerator() -> IEnumerator<T>
IEnumerator<T> GetEnumerator()
Function GetEnumerator() As IEnumerator<T>