In This Topic
The following tables list the members exposed by INode .
Public Properties
Name Description
Depth
Gets a zero-based number representing the depth within the object graph
Expectation
Gets the path from the root of the expectation upto and including the current node.
GetSubjectId
The name of the variable on which a structural equivalency assertion is executed or
the default if reflection failed.
IsRoot
Gets a value indicating whether the current node is the root.
ParentType
Gets the type of the parent node, e.g. the type that declares a property or field.
RootIsCollection
Gets a value indicating if the root of this graph is a collection.
Subject
Gets the path from the root of the subject upto and including the current node.
Type
Gets the type of this node, e.g. the type of the field or property, or the type of the collection item.
Top
Public Methods
Name Description
AdjustForRemappedSubject
Adjusts the current node to reflect a remapped subject member during a structural equivalency check.
Ensures that assertion failures report the correct subject member name when the matching process selects
a different member in the subject compared to the expectation.
Top
See Also
2025 © Xceed Software Inc.
4170 Grande-Allée, Suite 100, Greenfield Park, Qc J4V 3N2