IAttacher Interface |
Describes the semantics of a service through which a child IAggregatable object can attach itself to a parent object.
This interface is typically implemented by the parent object by composition.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public interface IAttacher
The IAttacher type exposes the following members.
Name | Description | |
---|---|---|
AttachChild |
Attach an object as a child of the current node.
| |
DetachChild |
Detaches an object as a child of the current node.
| |
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.
| |
OnChildAttached |
Method invoked after a child has been successfully attached to the current node.
| |
OnChildDetached |
Method invoked when a child has been detached from the current node.
|
This interface should typically not be used or implemented in user code.