C# Class NProxy.Core.ProxyTemplate

Represents a proxy template.
Inheritance: IProxyTemplate
Mostra file Open project: mtamme/NProxy

Public Methods

Method Description
AdaptProxy ( Type interfaceType, object proxy ) : object
CreateProxy ( IInvocationHandler invocationHandler ) : object
ProxyTemplate ( IProxyDefinition proxyDefinition, Type implementationType, ICollection eventInfos, ICollection propertyInfos, ICollection methodInfos ) : System

Initializes a new instance of the ProxyTemplate class.

Method Details

AdaptProxy() public method

public AdaptProxy ( Type interfaceType, object proxy ) : object
interfaceType System.Type
proxy object
return object

CreateProxy() public method

public CreateProxy ( IInvocationHandler invocationHandler ) : object
invocationHandler IInvocationHandler
return object

ProxyTemplate() public method

Initializes a new instance of the ProxyTemplate class.
public ProxyTemplate ( IProxyDefinition proxyDefinition, Type implementationType, ICollection eventInfos, ICollection propertyInfos, ICollection methodInfos ) : System
proxyDefinition IProxyDefinition The proxy definition.
implementationType System.Type The implementation type.
eventInfos ICollection The event informations.
propertyInfos ICollection The property informations.
methodInfos ICollection The method informations.
return System