Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.IndexOf(IIntroductionAdvisor) Method

Return the index (0 based) of the supplied IIntroductionAdvisor in the introductions for this proxy.

[Visual Basic]
Public Sub IndexOf( _
   ByVal advisor As IIntroductionAdvisor _
)
[C#]
int IndexOf(
   IIntroductionAdvisor advisor
);

Parameters

advisor
The IIntroductionAdvisor to search for.

Return Value

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

Remarks

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

See Also

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