예제 #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));
 }