Click or drag to resize
ActiveElementUtility Class
Helper class to read values from an ActiveElement Sometimes value provided in the parameter of a model element has to be considered as a reference and sometimes it is the value itself. This class helps to resolve this situation.
Inheritance Hierarchy
SystemObject
  FlexRuleActiveElementUtility

Namespace: FlexRule
Assemblies:  FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
  FlexRule.Procedure (in FlexRule.Procedure.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static class ActiveElementUtility

The ActiveElementUtility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFillDictionaryByParameters
Public methodStatic memberFindFirstActiveElement
Finds the first active element child that has the provided command name
Public methodStatic memberGetFormattedStringtValue
Public methodStatic memberGetValueOfAttributeOrRef(ActiveElement, String, IElementModelParameterCollection, IVariableContainer)
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.
Public methodStatic memberGetValueOfAttributeOrRef(ActiveElement, String, IElementModelParameterCollection, IVariableContainer, Boolean, Boolean)
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.
Public methodStatic memberGetValueOfAttributeOrRef(ActiveElement, String, String, IElementModelParameterCollection, IVariableContainer, Boolean, Boolean)
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.
Public methodStatic memberGetValueOfAttributeOrVariable
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.
Public methodStatic memberHasActiveElement
Check if there is a child active element of a specific type
Top
See Also