Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.AddAdvice(IAdvice) Method

Adds the supplied advice to the end (or tail) of the advice (interceptor) chain.

[Visual Basic]
Public Sub AddAdvice( _
   ByVal advice As IAdvice _
)
[C#]
void AddAdvice(
   IAdvice advice
);

Parameters

advice
The IAdvice to be added.

Remarks

Please be aware that Spring.NET's AOP implementation only supports method advice (as encapsulated by the IMethodInterceptor interface).

See Also

IAdvised Interface | Spring.Aop.Framework Namespace | IAdvised.AddAdvice Overload List | DefaultPointcutAdvisor | AddAdvice