 | 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.2
Syntaxbool IsDeeplyEqual(
IDeepEqualityComparer that,
IDictionary<Object, Object> visitedObjects
)
Parameters
- that
- Type: de.unika.ipd.grGen.libGrIDeepEqualityComparer
- visitedObjects
- Type: System.Collections.GenericIDictionaryObject, Object
Return Value
Type:
Boolean
See Also