PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Model Namespace/IAggregatable­Collection Interface/IAggregatable­Collection Methods

IAggregatableCollection Methods

The IAggregatableCollection type exposes the following members.

Methods
  NameDescription
Public methodAttachToParent
Attaches the current object to a parent object.
(Inherited from IAttachable.)
Public methodDetachFromParent
Detaches the current object from its parent object.
(Inherited from IAttachable.)
Public methodOnDeserialization
Restores the correct state when the object is being deserialized.
(Inherited from IAttachable.)
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