Interface IFilterExpression
Rule's filters expression builder.
public interface IFilterExpression
Methods
OnChange(params Expression<Func<object>>[])
Configures the engine to filter rule's matches, so that updates are only triggered if given keys changed. If multiple keys are configured, the match is accepted if any of the keys changed.
IFilterExpression OnChange(params Expression<Func<object>>[] keySelectors)
Parameters
keySelectors
Expression<Func<object>>[]Key selector expressions.
Returns
- IFilterExpression
Filters expression builder.
Where(params Expression<Func<bool>>[])
Configures the engine to filter rule's matches given a set of predicates. If multiple predicates are configured, the match is accepted if all predicates are true.
IFilterExpression Where(params Expression<Func<bool>>[] predicates)
Parameters
predicates
Expression<Func<bool>>[]Predicate expressions.
Returns
- IFilterExpression
Filters expression builder.