RuleEngine Constructors

Definition

Initializes a new instance of the RuleEngine class.

Overloads

RuleEngine(RuleSet, Type)

Initializes a new instance of the RuleEngine class with a RuleSet to evaluate and a rule type to create a new instance of RuleValidation(Type, ITypeProvider) to use for rule expression validation.

RuleEngine(RuleSet, RuleValidation)

Initializes a new instance of the RuleEngine class with a RuleSet to evaluate using RuleValidation.

RuleEngine(RuleSet, Type)

Initializes a new instance of the RuleEngine class with a RuleSet to evaluate and a rule type to create a new instance of RuleValidation(Type, ITypeProvider) to use for rule expression validation.

public RuleEngine (System.Workflow.Activities.Rules.RuleSet ruleSet, Type objectType);

Parameters

ruleSet
RuleSet

Specifies the RuleSet to evaluate.

objectType
Type

Specifies the Type of the Rule used to create a new instance of RuleValidation(Type, ITypeProvider).

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

RuleEngine(RuleSet, RuleValidation)

Initializes a new instance of the RuleEngine class with a RuleSet to evaluate using RuleValidation.

public RuleEngine (System.Workflow.Activities.Rules.RuleSet ruleSet, System.Workflow.Activities.Rules.RuleValidation validation);

Parameters

ruleSet
RuleSet

Specifies the RuleSet to evaluate.

validation
RuleValidation

Specifies the RuleValidation used to validate rule expressions.

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1