// 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); } }
public bool IsIndeplinit(ProdusAbstract prod) { return(prod.Categorie == this.categorie); }
public bool IsIndeplinit(ProdusAbstract prod) { return(prod.Pret > this.pret); }