Click or drag to resize
ElementModelUtilityGetValueOfAttributeOrVariable Method
Find 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 IElementModel model,
	string attrName,
	IVariableContainer container
)

Parameters

model
Type: FlexRule.Core.ModelIElementModel
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 IElementModel. 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