Click or drag to resize

ProcessQueueTSort(ComparisonT) Method

Sorts the elements in the entire ProcessQueueT, using the specified comparison.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public virtual void Sort(
	Comparison<T> comparison
)
View Source

Parameters

comparison  ComparisonT
The comparison to use when comparing elements.
Exceptions
ExceptionCondition
ArgumentExceptionThe implementation of comparison caused an error during the sort. For example, comparison might not return 0 when comparing an item with itself.
ArgumentNullExceptioncomparison is null.
See Also