Class PredicateRewriter
- Namespace
- The.Search
- Assembly
- Instagile.dll
public static class PredicateRewriter
- Inheritance
-
PredicateRewriter
- Inherited Members
-
Methods
ComposePredicates<T>(ExpressionType, Expression<Func<T, bool>>, Expression<Func<T, bool>>)
public static Expression<Func<T, bool>> ComposePredicates<T>(ExpressionType operation, Expression<Func<T, bool>> left, Expression<Func<T, bool>> right)
Parameters
operation ExpressionType
left Expression<Func<T, bool>>
right Expression<Func<T, bool>>
Returns
- Expression<Func<T, bool>>
Type Parameters
T
ComposeSelections<T, U, V>(Expression<Func<T, U>>, Expression<Func<U, V>>)
public static Expression<Func<T, V>> ComposeSelections<T, U, V>(Expression<Func<T, U>> left, Expression<Func<U, V>> right)
Parameters
left Expression<Func<T, U>>
right Expression<Func<U, V>>
Returns
- Expression<Func<T, V>>
Type Parameters
T
U
V
NegatePredicate<T>(Expression<Func<T, bool>>)
public static Expression<Func<T, bool>> NegatePredicate<T>(Expression<Func<T, bool>> pred)
Parameters
pred Expression<Func<T, bool>>
Returns
- Expression<Func<T, bool>>
Type Parameters
T
ParameteriseAggregate<TProperty, TCollection>(Expression<Func<Expression<Func<TProperty, bool>>, Expression<Func<TCollection, bool>>>>, Expression<Func<TProperty, bool>>)
public static Expression<Func<TCollection, bool>> ParameteriseAggregate<TProperty, TCollection>(Expression<Func<Expression<Func<TProperty, bool>>, Expression<Func<TCollection, bool>>>> predicatedAggregation, Expression<Func<TProperty, bool>> aggregatedPredicate)
Parameters
predicatedAggregation Expression<Func<Expression<Func<TProperty, bool>>, Expression<Func<TCollection, bool>>>>
aggregatedPredicate Expression<Func<TProperty, bool>>
Returns
- Expression<Func<TCollection, bool>>
Type Parameters
TProperty
TCollection