PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / IAttacher Interface / IAttacher Methods / IAttacher.​Get­Node Method
IAttacher.GetNode Method
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.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
Object GetNode(
	Object state
)

Parameters

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

Return Value

Type: Object
An object implementing IAggregatable, either directly or dynamically.
See Also