FlexRule Runtime API
FlexRule Runtime API
FlexRule Namespaces
FlexRule
ElementModelUtility Class
ElementModelUtility Methods
GetDeclaration Method
GetIndex Method
GetLogic Method
GetParameterValue(TExpectedType) Method
GetRoot Method
GetValueOfAttributeOrVariable Method
HasChildOf Method
IndexOf Method
IsInHierarchy Method
SameAs Method
ToXml Method
ElementModelUtility
SameAs Method
Checks if both provided model are the same
Namespace:
FlexRule
Assembly:
FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
Copy
public
static
bool
SameAs
(
this
IElementModel
model1
,
IElementModel
model2
)
Parameters
model1
Type:
FlexRule.Core.Model
IElementModel
model2
Type:
FlexRule.Core.Model
IElementModel
Return Value
Type:
Boolean
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
Reference
ElementModelUtility Class
FlexRule Namespace
(c) 2017 by FlexRule
Send comments on this topic to
support@flexrule.com