C# Class NProxy.Core.ProxyTemplate

Represents a proxy template.
Inheritance: IProxyTemplate
Afficher le fichier Open project: mtamme/NProxy

Méthodes publiques

Méthode 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 méthode

public AdaptProxy ( Type interfaceType, object proxy ) : object
interfaceType System.Type
proxy object
Résultat object

CreateProxy() public méthode

public CreateProxy ( IInvocationHandler invocationHandler ) : object
invocationHandler IInvocationHandler
Résultat object

ProxyTemplate() public méthode

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.
Résultat System