Open sandboxFocus

Interface IAggregatableDependentAdvice<T>

Defines the semantics of advices that depend on the aggregatable dynamic advices. These advices must be able to react to attachment and detachment events.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
public interface IAggregatableDependentAdvice<T> : IDynamicAdvice, IDynamicInterfaceImplementation
Type Parameters
Name Description
T

The type of the items.

Methods

Name Description
OnChildAttached(T, AdviceEnumerator<IAggregatableDependentAdvice<T>>)

This method is invoked when a child is attached to the parent.

OnChildDetached(T, AdviceEnumerator<IAggregatableDependentAdvice<T>>)

This method is invoked when a child is detached from the parent.

OnParentChanged(AdviceEnumerator<IAggregatableDependentAdvice<T>>)

This method is invoked when the parent changes.