Click or drag to resize
ActiveElement Class
An active element is an element which is able to perform an action in a predefined context. This is a fundamental block of execution plan for any engine.
Inheritance Hierarchy

Namespace: FlexRule
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
[SerializableAttribute]
public abstract class ActiveElement : MarshalByRefBase, 
	IChildManager<ActiveElement>, IEnumerable<ActiveElement>, IEnumerable, 
	IChildNavigator<ActiveElement>

The ActiveElement type exposes the following members.

Constructors
  NameDescription
Protected methodActiveElement(ActiveElement, IElementModel)
This constructor is used when the element is NOT the root
Protected methodActiveElement(IElementActivatorRegistry, IElementModel)
This constructor is used when the element is the root
Top
Properties
Methods
  NameDescription
Protected methodActivateElement
Creates active element for the provided model
Protected methodActivateInnerElements
Activates all the child elements of the provided node
Protected methodAddExceptionCommand
During activation commands listed as exception will not be activated
Protected methodCollectFactoryArguments
Protected methodCreateActiveElement(IElementModel)
Creates active element using provided model as the source and the parent is the current ActiveElement
Protected methodCreateActiveElement(ActiveElement, IElementModel)
Creates active element using element as source and provided parent
Public methodGetEnumerator
Protected methodHasActiveElement
Check if there is a child active element of a specific type
Public methodToString (Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodDistinctByActiveElement, TKey (Defined by LinqExtensions.)
Public Extension MethodFillDictionaryByParameters (Defined by ActiveElementUtility.)
Public Extension MethodFindFirstActiveElement
Finds the first active element child that has the provided command name
(Defined by ActiveElementUtility.)
Public Extension MethodGetDeclaration (Defined by ElementModelUtility.)
Public Extension MethodGetFormattedStringtValue (Defined by ActiveElementUtility.)
Public Extension MethodGetRoot (Defined by ElementModelUtility.)
Public Extension MethodGetValueOfAttributeOrRef(String, IElementModelParameterCollection, IVariableContainer)Overloaded.
Get the value from model`s parameters. If that value is a name of variable if the provided container it resolve the result with the container. Also it checks the container for '-ref' post fix of the attribute name.
(Defined by ActiveElementUtility.)
Public Extension MethodGetValueOfAttributeOrRef(String, IElementModelParameterCollection, IVariableContainer, Boolean, Boolean)Overloaded.
Get the value from model`s parameters. If that value is a name of variable if the provided container it resolve the result with the container. Also it checks the container for '-ref' post fix of the attribute name.
(Defined by ActiveElementUtility.)
Public Extension MethodGetValueOfAttributeOrRef(String, String, IElementModelParameterCollection, IVariableContainer, Boolean, Boolean)Overloaded.
Get the value from model`s parameters. If that value is a name of variable if the provided container it resolve the result with the container. Also it checks the container for '-ref' post fix of the attribute name.
(Defined by ActiveElementUtility.)
Public Extension MethodGetValueOfAttributeOrVariable
Get the value from model`s parameters. If that value is a name of variable if the provided container it resolve the result with the container.
(Defined by ActiveElementUtility.)
Public Extension MethodHasActiveElement
Check if there is a child active element of a specific type
(Defined by ActiveElementUtility.)
Public Extension MethodIndexOfActiveElement (Defined by StringTokenExtensions.)
Public Extension MethodIsMonadParameterReference (Defined by MonadParameterReferenceExtension.)
Public Extension MethodTakeLastActiveElement
Takes n last numbers of a source
(Defined by LinqExtensions.)
Top
Remarks
It is important to design the active element of models in the way they can be shared between multiple engine and execution requests. This bring the scalability and performance benefit to the execution platform.
See Also
Inheritance Hierarchy