C# Class LinFu.Proxy.ProxyFactory

Inheritance: IProxyFactory, IInitialize
Afficher le fichier Open project: philiplaureano/LinFu Class Usage Examples

Méthodes publiques

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

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

Initialize() public méthode

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

ProxyFactory() public méthode

Initializes the proxy factory with the default values.
public ProxyFactory ( ) : System
Résultat System