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

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

Generates a proxy implementing all the specified interfaces and redirecting method invocations to the specifed interceptor. This proxy is for object different from IList or ICollection

[Visual Basic]
Overrides Overloads Public Function CreateClassProxy( _
   ByVal Type As Type, _
   ByVal IInterceptor As IInterceptor, _
   ParamArray Object[] As Object() _
) As Object
[C#]
public override object CreateClassProxy(
   Type targetType,
   IInterceptor interceptor,
   params Object[] argumentsForConstructor
);

Parameters

targetType
The target type
interceptor
The interceptor.
argumentsForConstructor
The arguments for constructor.

Return Value

See Also

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