示例#1
0
        // Calls CaseInsensitiveComparer.Compare with the parameters reversed.
        int IComparer.Compare(Object x, Object y)
        {
            ProdusAbstract a = (ProdusAbstract)x;
            ProdusAbstract b = (ProdusAbstract)y;

            if (a.Id > b.Id)
            {
                return(1);
            }
            else
            {
                return(0);
            }
        }
示例#2
0
 public bool IsIndeplinit(ProdusAbstract prod)
 {
     return(prod.Categorie == this.categorie);
 }
示例#3
0
 public bool IsIndeplinit(ProdusAbstract prod)
 {
     return(prod.Pret > this.pret);
 }