Interface IKeyValueCollection<TObject, TKey>
- Namespace
- DynamicData
- Assembly
- DynamicData.dll
A key collection which contains sorting information.
public interface IKeyValueCollection<TObject, TKey> : IEnumerable<KeyValuePair<TKey, TObject>>, IEnumerable
Type Parameters
TObject
The type of the object.
TKey
The type of the key.
- Inherited Members
- Extension Methods
Properties
Comparer
Gets the comparer used to perform the sort.
IComparer<KeyValuePair<TKey, TObject>> Comparer { get; }
Property Value
- IComparer<KeyValuePair<TKey, TObject>>
The comparer.
Count
Gets the count of items.
int Count { get; }
Property Value
- int
The count.
this[int]
Gets the element at the specified index in the read-only list.
KeyValuePair<TKey, TObject> this[int index] { get; }
Parameters
index
intThe zero-based index of the element to get.
Property Value
- KeyValuePair<TKey, TObject>
The element at the specified index in the read-only list.
Optimisations
Gets the optimisations used to produce the sort.
SortOptimisations Optimisations { get; }
Property Value
- SortOptimisations
The optimisations.
SortReason
Gets the reason for a sort being applied.
SortReason SortReason { get; }
Property Value
- SortReason
The sort reason.