|
ProcessQueueTSort(ComparisonT) Method
|
Sorts the elements in the entire
ProcessQueueT, using the specified comparison.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
Syntaxpublic virtual void Sort(
Comparison<T> comparison
)
Public Overridable Sub Sort (
comparison As Comparison(Of T)
)
public:
virtual void Sort(
Comparison<T>^ comparison
)
abstract Sort :
comparison : Comparison<'T> -> unit
override Sort :
comparison : Comparison<'T> -> unit
function Sort(comparison);
View SourceParameters
- comparison ComparisonT
- The comparison to use when comparing elements.
ExceptionsException | Condition |
---|
ArgumentException | The implementation of comparison caused an error during the sort. For
example, comparison might not return 0 when comparing an item with itself. |
ArgumentNullException | comparison is null. |
See Also