PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / IAttacher Interface / IAttacher Methods
IAttacher Methods

The IAttacher type exposes the following members.

Methods
  Name Description
Public method AttachChild
Attach an object as a child of the current node.
Public method DetachChild
Detaches an object as a child of the current node.
Public method GetNode
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.
Public method OnChildAttached
Method invoked after a child has been successfully attached to the current node.
Public method OnChildDetached
Method invoked when a child has been detached from the current node.
See Also