Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IBeforeAdvice Interface

Superinterface for all before advice.


[Visual Basic]
Public Interface IBeforeAdvice
    Implements IAdvice
public interface IBeforeAdvice : IAdvice

Types that implement IBeforeAdvice

Type Description
ParameterValidationAdvice This advice is typically applied to service-layer methods in order to validate method arguments.


Before advice is advice that executes before a joinpoint, but which does not have the ability to prevent execution flow proceeding to the joinpoint (unless it throws an Exception).

Spring.NET only supports method before advice. Although this is unlikely to change, this API is designed to allow field before advice in future if desired.


Namespace: Spring.Aop

Assembly: Spring.Aop (in Spring.Aop.dll)

See Also

Spring.Aop Namespace | IMethodBeforeAdvice | IAfterReturningAdvice | IThrowsAdvice | IMethodInterceptor