Repository navigation
Expand file tree
/
Copy pathIKeyValueCollection.cs
More file actions
56 lines (51 loc) · 1.6 KB
/
Copy pathIKeyValueCollection.cs
File metadata and controls
56 lines (51 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using System.Collections.Generic;
using DynamicData.Operators;
namespace DynamicData
{
/// <summary>
///
/// </summary>
/// <typeparam name="TObject">The type of the object.</typeparam>
/// <typeparam name="TKey">The type of the key.</typeparam>
public interface IKeyValueCollection<TObject, TKey> : IEnumerable<KeyValuePair<TKey, TObject>>
{
/// <summary>
/// Gets the comparer used to peform the sort
/// </summary>
/// <value>
/// The comparer.
/// </value>
IComparer<KeyValuePair<TKey,TObject>> Comparer { get; }
/// <summary>
/// The count of items.
/// </summary>
/// <value>
/// The count.
/// </value>
int Count { get; }
/// <summary>
/// Gets the reason for a sort being applied.
/// </summary>
/// <value>
/// The sort reason.
/// </value>
SortReason SortReason { get; }
/// <summary>
/// Gets the optimisations used to produce the sort
/// </summary>
/// <value>
/// The optimisations.
/// </value>
SortOptimisations Optimisations { get; }
/// <summary>
/// Gets the element at the specified index in the read-only list.
/// </summary>
///
/// <returns>
/// The element at the specified index in the read-only list.
/// </returns>
/// <param name="index">The zero-based index of the element to get. </param>
/// <returns></returns>
KeyValuePair<TKey,TObject> this[int index] { get; }
}
}