public static ListObjectComparer <T> FromSort <T>(ListSortDescriptionCollection sorts) { var comparers = sorts.Cast <ListSortDescription>() .Select(MakeComparer <T>) .ToList(); return(new ListObjectComparer <T>(comparers)); }
public void ApplySort(ListSortDescriptionCollection sorts) { ApplySortCore(sorts.Cast <ListSortDescription>()); }