Provides the default IComparer<T> implementation that can be used to sort ICompletion
- Inheritance:
- object object
Constructors
CompletionItemSortComparer(ICompletionSession)
Initializes a new instance of the CompletionItemSortComparer
class.
Parameter | Type | Description |
---|---|---|
session | ICompletion |
The ICompletion |
Properties
Session
Gets the ICompletion
Property Value
- ICompletion
Session : The ICompletion
Session over which this comparer operates.
Methods
Compare(ICompletionItem, ICompletionItem)
Sorts two objects.
Parameter | Type | Description |
---|---|---|
x | ICompletion |
The left object. |
y | ICompletion |
The right object. |
Returns
- int:
A value indicating whether one is less than, equal to or greater than the other.