PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Model Namespace/IAttachable Interface/IAttachable Methods

IAttachable Methods

The IAttachable type exposes the following members.

Methods
  NameDescription
Public methodAttachToParent
Attaches the current object to a parent object.
Public methodDetachFromParent
Detaches the current object from its parent object.
Public methodVisitChildren
Executes an action for all direct children of the current object.
(Inherited from IAggregatable.)
Extension Methods
  NameDescription
Public Extension MethodGetChildren
Gets the list of children of a specified parent object.
(Defined by AggregatableExtensions.)
Public Extension MethodGetDistinctChildren
Gets a list of distinct children of a specified parent object.
(Defined by AggregatableExtensions.)
Public Extension MethodIsDescendantOf
Determines whether a specified object is a descendant of a specified ancestor.
(Defined by AggregatableExtensions.)
Public Extension MethodVisitSelfAndDescendants
Executes a ChildVisitor for the a specified parent object and all its descendants.
(Defined by AggregatableExtensions.)
See Also