Click or drag to resize

IKeyedLookupTKey, TElement Interface

Collection of facts grouped by a key. Exposes all keys present in the lookup as a Keys collection.

Namespace:  NRules.RuleModel
Assembly:  NRules.RuleModel (in NRules.RuleModel.dll) Version: 0.9.3
Syntax
C#
public interface IKeyedLookup<TKey, TElement> : ILookup<TKey, TElement>, 
	IEnumerable<IGrouping<TKey, TElement>>, IEnumerable

Type Parameters

TKey
The type of the keys in the lookup.
TElement
The type of the elements in the lookup,

The IKeyedLookupTKey, TElement type exposes the following members.

Properties
  NameDescription
Public propertyCount (Inherited from ILookupTKey, TElement.)
Public propertyItem (Inherited from ILookupTKey, TElement.)
Public propertyKeys
All keys present in the lookup. To find the number of keys in the lookup use Count.
Top
Methods
  NameDescription
Public methodContains (Inherited from ILookupTKey, TElement.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIGroupingTKey, TElement.)
Top
See Also