| Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference |
|
ProxyFactory.GetProxy(Type, IInterceptor) Method
Creates a new proxy for the supplied proxyInterface and interceptor.
[Visual Basic]
Public Overloads Shared Sub GetProxy( _
ByVal
proxyInterface As
Type, _
ByVal
interceptor As
IInterceptor _
)
Parameters
-
proxyInterface
- The interface that the proxy must implement.
-
interceptor
- The interceptor that the proxy must invoke.
Return Value
A new AOP proxy for the supplied proxyInterface and interceptor.
Remarks
This is a convenience method for creating a proxy for a single interceptor.
See Also
ProxyFactory Class | Spring.Aop.Framework Namespace | ProxyFactory.GetProxy Overload List