Esempio n. 1
0
 public int[] FilterTest_IntEvenPredicate(int[] numbers)
 {
     IntPredicate.IntEvenPredicate predicate = new IntPredicate.IntEvenPredicate();
     return(TransformerExtension.Filter(numbers, predicate.IsMatch));
 }
 public IEnumerable <int> FilterTest_IntEvenIPredicate(int[] numbers)
 {
     IntPredicate.IntEvenPredicate predicate = new IntPredicate.IntEvenPredicate();
     return(numbers.Filter(predicate));
 }