Table of Contents

Method NeedSort

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

NeedSort(IComparer<T>)

When implemented by a class, determines if the list needs sorting based on given criteria.

bool NeedSort(IComparer<T> comparer)

Parameters

comparer IComparer<T>

Comparer object to perform comparison between items in the list.

Returns

bool

True if list has to be sorted; otherwise false.