Esempio n. 1
0
        public int Compare(object x, object y)
        {
            ItemComparer item1 = (ItemComparer)x;
            ItemComparer item2 = (ItemComparer)y;

            return(item1.Order.CompareTo(item2.Order));
        }
Esempio n. 2
0
        public int Add(object value, long order)
        {
            ItemComparer cc = new ItemComparer();

            cc.Order = order;
            cc.Value = value;
            return(base.Add(cc));
        }
Esempio n. 3
0
 public int Add(ItemComparer ic)
 {
     return(base.Add(ic));
 }