public static HeuristicSearchOrderBy <TFactor, TStep> ThenByDescending <TFactor, TKey, TStep>(this HeuristicSearchOrderBy <TFactor, TStep> source, Func <TFactor, TKey> keySelector, IComparer <TKey> comparer) { if (source == null) { throw new ArgumentNullException(nameof(source)); } return(source.CreateOrderedEnumerable(keySelector, comparer, true)); }
public static HeuristicSearchOrderBy <TFactor, TStep> ThenBy <TFactor, TStep>(this HeuristicSearchOrderBy <TFactor, TStep> source, Func <TFactor, ulong> keySelector) { if (source == null) { throw new ArgumentNullException(nameof(source)); } return(source.CreateOrderedEnumerable(keySelector, false)); }
public static HeuristicSearchOrderBy <TFactor, TStep> ThenByDescending <TFactor, TKey, TStep>(this HeuristicSearchOrderBy <TFactor, TStep> source, Func <TFactor, TKey> keySelector) { return(ThenByDescending(source, keySelector, null)); }
public static HeuristicSearchOrderBy <TResult, TStep> ThenBy <TResult, TKey, TStep>(this HeuristicSearchOrderBy <TResult, TStep> source, Func <TResult, TKey> keySelector) { return(ThenBy(source, keySelector, null)); }