Beispiel #1
0
        public override int Compare(T x, T y)
        {
            TKey xKey = _keySelector(x);
            TKey yKey = _keySelector(y);

            return(NullFilter.Filter(xKey, yKey) ?? Comparer.Compare(x, y));
        }
Beispiel #2
0
 public override int Compare(T x, T y)
 {
     return(NullFilter.Filter(x, y) ?? Comparer.Compare(x, y));
 }