RuleEngine Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- validation
- RuleValidation
Specifies the RuleValidation used to validate rule expressions.
Applies to
.NET