C# Class NProxy.Core.ProxyFactory

Represents the proxy factory.
Inheritance: IProxyFactory
ファイルを表示 Open project: mtamme/NProxy Class Usage Examples

Public Methods

Method Description
GetProxyTemplate ( Type declaringType, IEnumerable interfaceTypes ) : IProxyTemplate
ProxyFactory ( ) : System

Initializes a new instance of the ProxyFactory class.

ProxyFactory ( IInterceptionFilter interceptionFilter ) : System

Initializes a new instance of the ProxyFactory class.

Private Methods

Method Description
CreateProxyDefinition ( Type declaringType, IEnumerable interfaceTypes ) : IProxyDefinition

Creates a proxy definition for the specified declaring type and interface types.

GenerateProxyTemplate ( IProxyDefinition proxyDefinition ) : IProxyTemplate

Generates a proxy template.

ProxyFactory ( ITypeBuilderFactory typeBuilderFactory, IInterceptionFilter interceptionFilter ) : System

Initializes a new instance of the ProxyFactory class.

Method Details

GetProxyTemplate() public method

public GetProxyTemplate ( Type declaringType, IEnumerable interfaceTypes ) : IProxyTemplate
declaringType System.Type
interfaceTypes IEnumerable
return IProxyTemplate

ProxyFactory() public method

Initializes a new instance of the ProxyFactory class.
public ProxyFactory ( ) : System
return System

ProxyFactory() public method

Initializes a new instance of the ProxyFactory class.
public ProxyFactory ( IInterceptionFilter interceptionFilter ) : System
interceptionFilter IInterceptionFilter The interception filter.
return System