Пример #1
0
 protected abstract bool FilterInternal(T item, Filterer <T> f1, Filterer <T> f2);
Пример #2
0
 public Filterer_BinaryOperation(Filterer <T> f1, Filterer <T> f2)
 {
     filterer_left  = f1;
     filterer_right = f2;
 }
Пример #3
0
 public Filterer_BinaryOperation_Or(Filterer <T> f1, Filterer <T> f2) : base(f1, f2)
 {
 }
Пример #4
0
 protected override bool FilterInternal(T item, Filterer <T> f1, Filterer <T> f2)
 {
     return(f1.Filter(item) || f2.Filter(item));
 }
Пример #5
0
 public Filterer_UnaryOperation(Filterer <T> f)
 {
     filterer = f;
 }
Пример #6
0
 public Filterer_UnaryOperation_Not(Filterer <T> f) : base(f)
 {
 }
Пример #7
0
 protected override bool FilterInternal(T item, Filterer <T> f)
 {
     return(f.Filter(item) == false);
 }