iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

CachedProxyGenerator.CreateProxy Method (Type[], IInterceptor, Object)

Generates a proxy implementing all the specified interfaces and redirecting method invocations to the specifed interceptor.

[Visual Basic]
Overrides Overloads Public Function CreateProxy( _
   ByVal Type[] As Type(), _
   ByVal IInterceptor As IInterceptor, _
   ByVal Object As Object _
) As Object
[C#]
public override object CreateProxy(
   Type[] interfaces,
   IInterceptor interceptor,
   Object target
);

Parameters

interfaces
Array of interfaces to be implemented
interceptor
instance of IInterceptor
target
The target object.

Return Value

Proxy instance

See Also

CachedProxyGenerator Class | IBatisNet.Common.Utilities.Proxy Namespace | CachedProxyGenerator.CreateProxy Overload List