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

IAggregatableCollection Interface

Defines the non-generic semantics of an AggregatableCollection.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public interface IAggregatableCollection : IAttachable, 
	IAggregatable

The IAggregatableCollection type exposes the following members.

Properties
  NameDescription
Public propertyItemsRelationship
Gets RelationshipKind of collection items.
Public propertyParent
Gets the parent of the current object.
(Inherited from IAggregatable.)
Public propertyParentRelationship
Describes the relationship between the current object and its parent. Valid values are Child or ParentSurrogate.
(Inherited from IAggregatable.)
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.)
Events
  NameDescription
Public eventAncestorChanged
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.)
Public eventParentChanged
Occurs when the Parent property changes.
(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