Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 220.127.116.11 (18.104.22.168)
public interface IAttachable : IAggregatable
Thetype exposes the following members.
Gets the parent of the current object.(Inherited from IAggregatable.)
Describes the relationship between the current object and its parent. Valid values are Child or ParentSurrogate.(Inherited from IAggregatable.)
Attaches the current object to a parent object.
Detaches the current object from its parent object.
Executes an action for all direct children of the current object.(Inherited from IAggregatable.)
Occurs when any ancestor changes. An ancestor is the parent of the current object or the parent of an ancestor of the current object.(Inherited from IAggregatable.)
Occurs when the Parent property changes.(Inherited from IAggregatable.)
Gets the list of children of a specified parent object.(Defined by AggregatableExtensions.)
Gets a list of distinct children of a specified parent object.(Defined by AggregatableExtensions.)
Determines whether a specified object is a descendant of a specified ancestor.(Defined by AggregatableExtensions.)
Executes a ChildVisitor for the a specified parent object and all its descendants.(Defined by AggregatableExtensions.)
This interface is consumed by the AggregatableAttribute aspect. It should normally not be consumed in user code.
User classes may implement this interface in a class if a custom implementation of IAggregatable is required.
A child object may be attached several times to the same parent through several relationships.