Beispiel #1
0
 public static Expression <Func <T, bool> > Or <T>(this Expression <Func <T, bool> > first, Expression <Func <T, bool> > second)
 {
     return(first.Compose(second, Expression.OrElse));
 }
Beispiel #2
0
 public static Expression <Func <T, bool> > And <T>(this Expression <Func <T, bool> > expr1,
                                                    Expression <Func <T, bool> > expr2)
 {
     return(expr1.Compose(expr2, Expression.And));
 }
Beispiel #3
0
 public static Expression <Func <T, bool> > And <T>(this Expression <Func <T, bool> > first, Expression <Func <T, bool> > second)
 {
     return(first.Compose(second, Expression.AndAlso));
 }