Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.CountAdviceOfType Method

Returns a count of all of the IAdvice type-compatible with the supplied Type.

[Visual Basic]
Public Sub CountAdviceOfType( _
   ByVal interceptorType As Type _
)
[C#]
public int CountAdviceOfType(
   Type interceptorType
);

Parameters

interceptorType
The Type of the IAdvice to check.

Return Value

A count of all of the IAdvice type-compatible with the supplied Type.

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace