Click or drag to resize

IDeepEqualityComparerIsDeeplyEqual Method

Returns whether this and that are deeply equal, which means the scalar attributes are equal, the container attributes are memberwise deeply equal, and object attributes are deeply equal. (If types are unequal the result is false.) Visited objects are/have to be stored in the visited objects dictionary in order to detect shortcuts and cycles. TODO: extend to structures including shortcuts and cycles, but excluding aliasing, with a visited objects map instead of a set.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
bool IsDeeplyEqual(
	IDeepEqualityComparer that,
	IDictionary<Object, Object> visitedObjects
)

Parameters

that  IDeepEqualityComparer
 
visitedObjects  IDictionaryObject, Object
 

Return Value

Boolean
See Also