Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.AdviceIncluded Method

Is the supplied advice included in any advisor?

[Visual Basic]
Public Sub AdviceIncluded( _
   ByVal advice As IAdvice _
)
[C#]
public bool AdviceIncluded(
   IAdvice advice
);

Parameters

advice
The IAdvice to check for the inclusion of.

Return Value

true if the supplied advice could be run in an invocation (this does not imply that said advice will be run).

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace