Click or drag to resize
ExpressionEvaluatorIsEqual Method
Returns true if first parameter is equal to the second. Handles several specialties: 1) GUID is equal also to string representation of GUID (case insensitive regardless the context setting). 2) Simple data types are equal to their ToString representation. 3) InfoObject is equal also to string constant if it's either its display name or code name. 4) Two info objects are equal when they have same object type and same ID. 5) Empty string is equal to null.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 10.0.0
Syntax
C#
public static bool IsEqual(
	Object param1,
	Object param2,
	EvaluationContext context
)

Parameters

param1
Type: SystemObject
First parameter to compare
param2
Type: SystemObject
Second parameter to compare
context
Type: CMS.MacroEngineEvaluationContext
Evaluation context

Return Value

Type: Boolean
See Also