RuleEngine Constructors
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.
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. |
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
.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 |
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 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 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: