2using System.Collections.Generic;
12 private readonly IComparer<IElement>[] comparers;
13 private readonly
int c;
21 this.comparers = Comparers;
22 this.c = Comparers.Length;
35 for (i = 0; i < c; i++)
37 j = this.comparers[i].Compare(x, y);
Orders elements based on a sequence of comparers.
CompoundOrder(IComparer< IElement >[] Comparers)
Orders elements based on a sequence of comparers.
int Compare(IElement x, IElement y)
Compares two elements.
Basic interface for all types of elements.