Click or drag to resize

ILeftHandSideExpression Interface

Rule's left hand side (conditions) expression builder.

Namespace:  NRules.Fluent.Dsl
Assembly:  NRules.Fluent (in NRules.Fluent.dll) Version: 0.8.4
Syntax
C#
public interface ILeftHandSideExpression

The ILeftHandSideExpression type exposes the following members.

Methods
  NameDescription
Public methodAllTFact(ExpressionFuncTFact, Boolean)
Defines a pattern that triggers the rule only if all facts of a given type match the condition.
Public methodAllTFact(ExpressionFuncTFact, Boolean, ExpressionFuncTFact, Boolean)
Defines a pattern that triggers the rule only if all facts that match the base condition also match all the remaining conditions (universal quantifier).
Public methodAnd
Defines a group of patterns joined by an AND operator. If all of the patterns in the group match then the whole group matches.
Public methodExistsTFact
Defines a pattern that triggers the rule only if there is at least one matching fact (existential quantifier).
Public methodHaving
Adds match conditions to existing rule patterns.
Public methodLetTResult
Binds expression to a variable. Expression can use previously defined rule patterns.
Public methodMatchTFact(ExpressionFuncTFact, Boolean)
Defines a pattern for facts matching a set of conditions. Does not bind matching fact to a variable. Optionally, enables aggregation of matching facts.
Public methodMatchTFact(ExpressionFuncTFact, ExpressionFuncTFact, Boolean)
Defines a pattern for facts matching a set of conditions. Binds matching fact to a variable.
Public methodNotTFact
Defines a pattern that triggers the rule only if there are no matching facts (negation quantifier).
Public methodOr
Defines a group of patterns joined by an OR operator. If either of the patterns in the group matches then the whole group matches.
Public methodQueryTResult
Queries rules engine for matching facts.
Top
See Also