C# Class LinFu.Proxy.ProxyFactory

Inheritance: IProxyFactory, IInitialize
显示文件 Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
CreateProxyType ( Type baseType, IEnumerable baseInterfaces ) : Type

Creates a proxy type using the given baseType as the base class and ensures that the proxy type implements the given interface types.

Initialize ( IServiceContainer source ) : void

Initializes the ProxyFactory instance with the source container.

ProxyFactory ( ) : System

Initializes the proxy factory with the default values.

Method Details

CreateProxyType() public method

Creates a proxy type using the given baseType as the base class and ensures that the proxy type implements the given interface types.
public CreateProxyType ( Type baseType, IEnumerable baseInterfaces ) : Type
baseType System.Type The base class from which the proxy type will be derived.
baseInterfaces IEnumerable The list of interfaces that the proxy will implement.
return System.Type

Initialize() public method

Initializes the ProxyFactory instance with the source container.
public Initialize ( IServiceContainer source ) : void
source IServiceContainer The instance that will hold the ProxyFactory.
return void

ProxyFactory() public method

Initializes the proxy factory with the default values.
public ProxyFactory ( ) : System
return System