PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / IAggregatable­Dependent­Advice(T) Interface / IAggregatable­Dependent­Advice(T) Methods

IAggregatableDependentAdvice<T> Methods

The IAggregatableDependentAdvice<T> generic type exposes the following members.

Public methodDispose
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.
(Inherited from IDynamicAdvice.)
Public methodInitialize
Initializes the current advice.
(Inherited from IDynamicAdvice.)
Public methodOnChildAttached
Method invoked when a child is attached to the parent.
Public methodOnChildDetached
Method invoked when a child is detached from the parent.
Public methodOnParentChanged
Method invoked when the parent changes.
Public methodQueryInterface<T>
Gets the implementation of an interface.
(Inherited from IDynamicAdvice.)
See Also