PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Model Namespace/IAggregatable­Dependent­Advice(T) Interface

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: 6.3.11.0 (6.3.11.0)
Syntax
C#
public interface IAggregatableDependentAdvice<T> : IDynamicAdvice, 
	IDynamicInterfaceImplementation

Type Parameters

T
Item types.

The IAggregatableDependentAdvice<T> type exposes the following members.

Properties
  NameDescription
Public propertyAdvisedObject
Gets the principal object for which the current object is an indirect interface implementation.
(Inherited from IDynamicInterfaceImplementation.)
Public propertyIdentity
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.)
Public propertyOrder
Gets the execution order of the dynamic advice. See DynamicAdviceOrder.
(Inherited from IDynamicAdvice.)
Methods
  NameDescription
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