IAggregatableDependentAdvice<T> Interface |
Defines the semantics of advices that depend on the aggregatable dynamic advices, i.e. they must
be able to react to attachment and detachment events.
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 IAggregatableDependentAdvice<T> : IDynamicAdvice, IDynamicInterfaceImplementation
Type Parameters
- T
- Item types.
The IAggregatableDependentAdvice<T> type exposes the following members.
Name | Description | |
---|---|---|
AdvisedObject |
Gets the principal object for which the current object is an indirect interface implementation.
(Inherited from IDynamicInterfaceImplementation.) | |
Identity |
Gets the type identity of the advice, which should correspond to the first parameter of the Advise(Type, Func<IQueryInterface, IDynamicAdvice>) method.
This is typically the generic type definition of the advice
(Inherited from IDynamicAdvice.) | |
Order |
Gets the execution order of the dynamic advice. See DynamicAdviceOrder.
(Inherited from IDynamicAdvice.) |
Name | Description | |
---|---|---|
Dispose |
Disposes the current advice. // We don't use IDisposable so that advises are not be cast to IDisposable by default.
(Inherited from IDynamicAdvice.) | |
Initialize |
Initializes the current advice.
(Inherited from IDynamicAdvice.) | |
OnChildAttached |
Method invoked when a child is attached to the parent.
| |
OnChildDetached |
Method invoked when a child is detached from the parent.
| |
OnParentChanged |
Method invoked when the parent changes.
| |
QueryInterface<T> |
Gets the implementation of an interface.
(Inherited from IDynamicAdvice.) |