Click or drag to resize
RuntimeEngineFromXml Method (Stream, IRuleSet)
Creates an IRuntimeEngine instance from a stream of XML content.

Namespace: FlexRule
Assembly: FlexRule.Engine (in FlexRule.Engine.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static IRuntimeEngine FromXml(
	Stream stream,
	IRuleSet ruleSet
)

Parameters

stream
Type: System.IOStream
A stream to an XML content of a base model
ruleSet
Type: FlexRule.Core.ModelIRuleSet
Dependency resolver IRuleSet to resolve all dependencies on execution plan creation

Return Value

Type: IRuntimeEngine
See Also