Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMethodInvocation Constructor

Creates a new instance of the AbstractMethodInvocation class.

[Visual Basic]
Protected Sub New( _
   ByVal proxy As Object, _
   ByVal target As Object, _
   ByVal method As MethodInfo, _
   ByVal arguments As Object, _
   ByVal targetType As Type, _
   ByVal interceptors As IList _
)
[C#]
AbstractMethodInvocation(
   object proxy,
   object target,
   MethodInfo method,
   object[] arguments,
   Type targetType,
   IList interceptors
);

Parameters

proxy
The AOP proxy.
target
The target object.
method
the target method.
arguments
The target method's arguments.
targetType
The Type of the target object.
interceptors
The list of interceptors that are to be applied. May be .

Remarks

This is an abstract class, and as such exposes no publicly visible constructors.

Note    The interceptors list can also contain any InterceptorAndDynamicMethodMatchers that need evaluation at runtime. IMethodMatchers included in an InterceptorAndDynamicMethodMatcher must already have been found to have matched as far as was possible statically. Passing an array might be about 10% faster, but would complicate the code, and it would work only for static pointcuts.

Exceptions

Exception Type Condition
ArgumentNullException If the target is .

See Also

AbstractMethodInvocation Class | Spring.Aop.Framework Namespace