IAggregatableCollection Interface |
Defines the non-generic semantics of an AggregatableCollection.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface IAggregatableCollection : IAttachable, IAggregatable
The IAggregatableCollection type exposes the following members.
Name | Description | |
---|---|---|
ItemsRelationship |
Gets RelationshipKind of collection items.
| |
Parent |
Gets the parent of the current object.
(Inherited from IAggregatable.) | |
ParentRelationship |
Describes the relationship between the current object and its parent. Valid values are Child or ParentSurrogate.
(Inherited from IAggregatable.) |
Name | Description | |
---|---|---|
AttachToParent |
Attaches the current object to a parent object.
(Inherited from IAttachable.) | |
DetachFromParent |
Detaches the current object from its parent object.
(Inherited from IAttachable.) | |
OnDeserialization |
Restores the correct state when the object is being deserialized.
(Inherited from IAttachable.) | |
VisitChildren |
Executes an action for all direct children of the current object.
(Inherited from IAggregatable.) |
Name | Description | |
---|---|---|
AncestorChanged |
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.) | |
ParentChanged |
Occurs when the Parent property changes.
(Inherited from IAggregatable.) |
Name | Description | |
---|---|---|
GetChildren |
Gets the list of children of a specified parent object.
(Defined by AggregatableExtensions.) | |
GetDistinctChildren |
Gets a list of distinct children of a specified parent object.
(Defined by AggregatableExtensions.) | |
IsDescendantOf |
Determines whether a specified object is a descendant of a specified ancestor.
(Defined by AggregatableExtensions.) | |
VisitSelfAndDescendants |
Executes a ChildVisitor for the a specified parent object and all its descendants.
(Defined by AggregatableExtensions.) |