Esempio n. 1
0
 public static MyOrderedEnumerable JoeyThenBy(this MyOrderedEnumerable employees,
                                              Func <Employee, string> keySelector)
 {
     return(employees.AppendComparer(keySelector, Comparer <string> .Default));
 }
Esempio n. 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));
 }