Click or drag to resize
ModelLoaderLoad Method (IElementModel, IVariableContainer, IRuleSet, ActiveElement)
Load IElementModel from external or RuleSet by the provided Source element

Namespace: FlexRule.Core.Model
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public IElementModel Load(
	IElementModel sourceModel,
	IVariableContainer container,
	IRuleSet referenceRule,
	ActiveElement activeElement = null
)

Parameters

sourceModel
Type: FlexRule.Core.ModelIElementModel
Element that contains uri address attribute
container
Type: FlexRuleIVariableContainer
Running context`s container
referenceRule
Type: FlexRule.Core.ModelIRuleSet
Loaded RuleSet in the executor setup information
activeElement (Optional)
Type: FlexRuleActiveElement
Owner of the loading process, if null, means the load is not coming from an ActiveElement

Return Value

Type: IElementModel
See Also