PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelIAttacherGet­Node
Open sandboxFocus

IAttacher.GetNode Method

GetNode(Object)

Gets the underlying object instance which is subject to the current attacher. The instance is the aggregatable node that participates in the parent-child relationships with other objects.

Declaration
object GetNode(object state)
Parameters
Type Name Description
Object state

The opaque state object passed to AttachToParent(RelationshipInfo, IAttacher, Object).

Returns
Type Description
Object

An object implementing IAggregatable, either directly or dynamically.