This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
AggregatableAttributeTargetClass Class
Describes the members that are introduced or overridden by the AggregatableAttribute aspect. You can define one or many of these members in classes that are the target of AggregatableAttribute to reacts to events of the Aggregatable pattern.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Model.AggregatableAttributeTargetClass
    PostSharp.Patterns.Threading.ThreadAwareAttributeTargetClass

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public class AggregatableAttributeTargetClass

The AggregatableAttributeTargetClass type exposes the following members.

Methods
  NameDescription
Protected methodOnAncestorChanged
Method invoked when an ancestor of the current object has changed. Implement this method only if the target class of AggregatableAttribute implements the IAggregatable interface. For other use cases, subscribe to the AncestorChanged event.
Protected methodOnChildAttached
Method invoked when a child has been attached to the current object.
Protected methodOnChildDetached
Method invoked when a child has been detached from the current object.
Protected methodOnParentChanged
Method invoked when the Parent of the current object has been changed.
Public methodVisitChildren
Executes an action for all direct children of the current object. Implement this method in the target class of AggregatableAttribute if you want to provide children objects that are not managed by the AggregatableAttribute aspect.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
Remarks
Note Note
This class it for documentation purpose only, and should not be used in code.

Additionally to declaring the members documented in this class, target classes of the AggregatableAttribute can also implement the IAttachable interface, which adds Attach and Detach semantics to the IAggregatable class.

See Also