ExpressionExtensions Class
public static class ExpressionExtensionsNo documentation is available.
Methods
| Name | Description |
|---|---|
| AndAlso<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>) | Combines two expressions with a logical AND, properly rebinding parameters. |
| Negate<T>(Expression<Func<T, bool>>) | Negates an expression. |
| OrElse<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>) | Combines two expressions with a logical OR, properly rebinding parameters. |
AndAlso<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>)
ExpressionExtensions.csCombines two expressions with a logical AND, properly rebinding parameters.
public static Expression<Func<T, bool>> AndAlso<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)Type parameters
T
Parameters
Returns
Negate<T>(Expression<Func<T, bool>>)
ExpressionExtensions.csNegates an expression.
public static Expression<Func<T, bool>> Negate<T>(this Expression<Func<T, bool>> expression)OrElse<T>(Expression<Func<T, bool>>, Expression<Func<T, bool>>)
ExpressionExtensions.csCombines two expressions with a logical OR, properly rebinding parameters.
public static Expression<Func<T, bool>> OrElse<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)Type parameters
T