Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.IndexOf(IAdvisor) Method

Return the index (0 based) of the supplied IAdvisor in the interceptor (advice) chain for this proxy.

[Visual Basic]
Public Overridable Overloads Sub IndexOf( _
   ByVal advisor As IAdvisor _
) _
    Implements IAdvised.IndexOf
[C#]
public virtual int IndexOf(
   IAdvisor advisor
);

Parameters

advisor
The IAdvisor to search for.

Return Value

The zero (0) based index of this advisor, or -1 if the supplied advisor is not an advisor for this proxy.

Implements

IAdvised.IndexOf

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace | AdvisedSupport.IndexOf Overload List