แก้ไข

แชร์ผ่าน


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);
public RuleEngine (System.Workflow.Activities.Rules.RuleSet ruleSet, Type objectType);
new System.Workflow.Activities.Rules.RuleEngine : System.Workflow.Activities.Rules.RuleSet * Type -> System.Workflow.Activities.Rules.RuleEngine
Public Sub New (ruleSet As RuleSet, objectType As Type)

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

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);
public RuleEngine (System.Workflow.Activities.Rules.RuleSet ruleSet, System.Workflow.Activities.Rules.RuleValidation validation);
new System.Workflow.Activities.Rules.RuleEngine : System.Workflow.Activities.Rules.RuleSet * System.Workflow.Activities.Rules.RuleValidation -> System.Workflow.Activities.Rules.RuleEngine
Public Sub New (ruleSet As RuleSet, validation As RuleValidation)

Parameters

ruleSet
RuleSet

Specifies the RuleSet to evaluate.

validation
RuleValidation

Specifies the RuleValidation used to validate rule expressions.

Applies to