共用方式為


RuleEngine 建構函式

定義

初始化 RuleEngine 類別的新執行個體。

多載

RuleEngine(RuleSet, Type)

以要評估的 RuleEngine 和規則類型,初始化 RuleSet 類別的新執行個體,以建立 RuleValidation(Type, ITypeProvider) 的新執行個體以用於規則運算式驗證。

RuleEngine(RuleSet, RuleValidation)

使用 RuleEngine,以要評估的 RuleSet 初始化 RuleValidation 類別的新執行個體。

RuleEngine(RuleSet, Type)

以要評估的 RuleEngine 和規則類型,初始化 RuleSet 類別的新執行個體,以建立 RuleValidation(Type, ITypeProvider) 的新執行個體以用於規則運算式驗證。

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)

參數

ruleSet
RuleSet

指定要評估的 RuleSet

objectType
Type

指定 TypeRule,用於建立 RuleValidation(Type, ITypeProvider) 的新執行個體。

適用於

RuleEngine(RuleSet, RuleValidation)

使用 RuleEngine,以要評估的 RuleSet 初始化 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)

參數

ruleSet
RuleSet

指定要評估的 RuleSet

validation
RuleValidation

指定用於驗證規則運算式的 RuleValidation

適用於