Click or drag to resize
RuntimeEngineFromRuleSet Method
Creates an IRuntimeEngine instance from a ruleset

Namespace: FlexRule
Assembly: FlexRule.Engine (in FlexRule.Engine.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static IRuntimeEngine FromRuleSet(
	IRuleSet ruleSet,
	string ruleSetQuery,
	Glossary businessGlossary = null,
	Resource resource = null
)

Parameters

ruleSet
Type: FlexRule.Core.ModelIRuleSet
A IRuleSet that holds all the related models for loading execution plan and executing logic
ruleSetQuery
Type: SystemString
Address to the main model within the provided ruleSet
businessGlossary (Optional)
Type: FlexRule.GlossariesGlossary
When glossary is provided, the internal business glossary will not be used
resource (Optional)
Type: FlexRule.ResourcesResource
Use preloaded resource in messaging of rule execution

Return Value

Type: IRuntimeEngine
See Also