Click or drag to resize
ActiveElementUtilityGetValueOfAttributeOrVariable Method
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.

Namespace: FlexRule
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static Object GetValueOfAttributeOrVariable(
	this ActiveElement element,
	string attrName,
	IVariableContainer container
)

Parameters

element
Type: FlexRuleActiveElement
attrName
Type: SystemString
container
Type: FlexRuleIVariableContainer

Return Value

Type: Object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ActiveElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also