Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedProxy.AddAdvice(Int32, IAdvice) Method

Adds the supplied advice to the supplied position in the advice (interceptor) chain.

[Visual Basic]
Public NotOverridable Overloads Sub AddAdvice( _
   ByVal position As Integer, _
   ByVal advice As IAdvice _
) _
    Implements IAdvised.AddAdvice
[C#]
public void AddAdvice(
   int position,
   IAdvice advice
);

Parameters

position
The zero (0) indexed position (from the head) at which the supplied advice is to be inserted into the advice (interceptor) chain.
advice
The IAdvice to be added.

Implements

IAdvised.AddAdvice

See Also

AdvisedProxy Class | Spring.Aop.Framework.DynamicProxy Namespace | AdvisedProxy.AddAdvice Overload List | DefaultPointcutAdvisor | AddAdvice