Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.AddAdvisor(IAdvisor) Method

Adds the supplied advisor to the list of Advisors.

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

Parameters

advisor
The IAdvisor to add.

Implements

IAdvised.AddAdvisor

Exceptions

Exception Type Condition
AopConfigException If this proxy configuration is frozen and the advisor cannot be added.

See Also

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