Interface IQuery<TObject, TKey>
- Namespace
- Dynamic
Data
- Assembly
- DynamicData.dll
Exposes internal cache state to enable querying.
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
- Extension Methods
Properties
Count
Gets the count.
Property Value
Items
Gets the items.
Property Value
- IEnumerable<TObject>
KeyValues
Gets the items together with their keys.
Property Value
- IEnumerable<Key
Value <TKey, TObject>>Pair The key values.
Keys
Gets the keys.
Property Value
- IEnumerable<TKey>
Methods
Lookup(TKey)
Lookup a single item using the specified key.
Parameters
key
TKeyThe key.
Returns
- Optional<TObject>
The looked up value.
Remarks
Fast indexed lookup.