Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.IndexOf(IAdvisor) Method

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

[Visual Basic]
Public Sub IndexOf( _
   ByVal advisor As IAdvisor _
int IndexOf(
   IAdvisor 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.


The return value of this method can be used to index into the Advisors list.

See Also

IAdvised Interface | Spring.Aop.Framework Namespace | IAdvised.IndexOf Overload List