Beispiel #1
0
 protected virtual void DoSearch(IList list, ScrittureSearchCriteria criteria)
 {
     foreach (AbstractBilancio item in _sublist)
     {
         item.DoSearch(list, criteria);
     }
 }
Beispiel #2
0
        public IList SearchScritture(ScrittureSearchCriteria criteria)
        {
            IList list = new ArrayList();

            DoSearch(list, criteria);


            return(list);
        }
Beispiel #3
0
        protected override void DoSearch(IList list, ScrittureSearchCriteria criteria)
        {
            if (criteria == null)
            {
                list.Add(this);
                return;
            }


            if (criteria.Matches(this))
            {
                list.Add(this);
            }
        }