Ejemplo n.º 1
0
 public StatoModelloDelegaMatcher(StatoModelloDelega stato)
 {
     this._stato = stato;
 }
Ejemplo n.º 2
0
        public static List <ModelloDelega> getModelliDelegaByStato(DocsPaVO.utente.InfoUtente utente, StatoModelloDelega stato)
        {
            List <ModelloDelega>      res        = new List <ModelloDelega>();
            ModDeleghe                modDeleghe = new ModDeleghe();
            List <ModelloDelega>      tempList   = searchModelliDelega(utente, null);
            StatoModelloDelegaMatcher matcher    = new StatoModelloDelegaMatcher(stato);

            return(tempList.FindAll(matcher.Match));
        }
Ejemplo n.º 3
0
 private bool filter(ModelloDelega modello, StatoModelloDelega stato)
 {
     return(modello.Stato == stato);
 }