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

指定用于创建 Type 的新实例的 RuleRuleValidation(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

适用于