Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ParameterValidationAdvice.Before Method

Intercepts method invocation and validates arguments.

[Visual Basic]
Public NotOverridable Sub Before( _
   ByVal method As MethodInfo, _
   ByVal args As Object, _
   ByVal target As Object _
) _
    Implements IMethodBeforeAdvice.Before
[C#]
public void Before(
   MethodInfo method,
   object[] args,
   object target
);

Parameters

method
Method invocation.
args
Method arguments.
target
Target object.

Implements

IMethodBeforeAdvice.Before

Exceptions

Exception Type Condition
ValidationException If one or more method arguments fail validation.

See Also

ParameterValidationAdvice Class | Spring.Aspects.Validation Namespace