Click or drag to resize
ICollectPatternExpressionTCollection Interface
Expression builder for optional additional conditions on collection pattern.

Namespace: NRules.Fluent.Dsl
Assembly: NRules (in NRules.dll) Version: 0.4.3.0
Syntax
C#
public interface ICollectPatternExpression<TCollection> : ILeftHandSideExpression

Type Parameters

TCollection
Type of collection.

The ICollectPatternExpressionTCollection 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.
(Inherited from ILeftHandSideExpression.)
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).
(Inherited from ILeftHandSideExpression.)
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.
(Inherited from ILeftHandSideExpression.)
Public methodCollectT Obsolete.
Defines a pattern that aggregates matching facts into a collection.
(Inherited from ILeftHandSideExpression.)
Public methodExistsTFact
Defines a pattern that triggers the rule only if there is at least one matching fact (existential quantifier).
(Inherited from ILeftHandSideExpression.)
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.
(Inherited from ILeftHandSideExpression.)
Public methodMatchTFact(ExpressionFuncTFact, ExpressionFuncTFact, Boolean)
Defines a pattern for facts matching a set of conditions. Binds matching fact to a variable.
(Inherited from ILeftHandSideExpression.)
Public methodNotTFact
Defines a pattern that triggers the rule only if there are no matching facts (negation quantifier).
(Inherited from ILeftHandSideExpression.)
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.
(Inherited from ILeftHandSideExpression.)
Public methodQueryTResult
Queries rules engine for matching facts.
(Inherited from ILeftHandSideExpression.)
Public methodWhere
Optional conditions on the collection pattern.
Top
See Also