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


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:

Implemented in