CustomSortHelperT Constructor
Creates a new custom sort helper and presorts the list.
Namespace: SnapDB.SnapAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public CustomSortHelper(
IEnumerable<T> items,
Func<T, T, bool> isLessThan
)
Public Sub New (
items As IEnumerable(Of T),
isLessThan As Func(Of T, T, Boolean)
)
public:
CustomSortHelper(
IEnumerable<T>^ items,
Func<T, T, bool>^ isLessThan
)
SnapDB.Snap.CustomSortHelper = function(items, isLessThan);
Parameters
- items IEnumerableT
- The collection of items to be sorted.
- isLessThan FuncT, T, Boolean
- A function that determines if one item is less than another.