Click or drag to resize
ProxyGeneratorCreateProxy Method (Type, IInterceptor, Object)
Generates a proxy implementing all the specified interfaces and redirecting method invocations to the specifed interceptor.

Namespace: X3Platform.DynamicProxy
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public virtual Object CreateProxy(
	Type theInterface,
	IInterceptor interceptor,
	Object target
)

Parameters

theInterface
Type: SystemType
Interface to be implemented
interceptor
Type: X3Platform.DynamicProxyIInterceptor
instance of IInterceptor
target
Type: SystemObject
The proxy target.

Return Value

Type: Object
Proxy instance
See Also