PostSharp 6.8 / / 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.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.8.6.0 (6.8.6.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