Click or drag to resize
ILeftHandSideExpression Interface
Rule's left hand side (conditions) expression builder.

Namespace: NRules.Fluent.Dsl
Assembly: NRules (in NRules.dll) Version: 0.4.3.0
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 methodCollectT Obsolete.
Defines a pattern that aggregates matching facts into a collection.
Public methodExistsTFact
Defines a pattern that triggers the rule only if there is at least one matching fact (existential quantifier).
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