Пример #1
0
 public static MyOrderedEnumerable JoeyThenBy(this MyOrderedEnumerable employees,
                                              Func <Employee, string> keySelector)
 {
     return(employees.AppendComparer(keySelector, Comparer <string> .Default));
 }
Пример #2
0
 public static MyOrderedEnumerable JoeyThenBy(this MyOrderedEnumerable employees,
                                              Func <Employee, string> keySelector)
 {
     return(employees.CreateOrderedEnumerable(keySelector, Comparer <string> .Default));
     //return employees.CreateOrderedEnumerable(new CombineKeyCompare(keySelector, Comparer<string>.Default));
 }