C# Class Dlp.Framework.Container.Proxies.ProxyFactory

Afficher le fichier Open project: stone-payments/Dlp.Framework Class Usage Examples

Méthodes publiques

Méthode Description
Create ( IDynamicProxy handler, Type objType, Type aditionalInterfaces = null ) : object
GetInstance ( ) : ProxyFactory

Creates a new instance of the ProxyFactory.

Private Methods

Méthode Description
CreateInstance ( ) : void
CreateType ( IDynamicProxy handler, Type interfaces, string dynamicTypeName ) : Type
GenerateMethod ( Type interfaceType, FieldBuilder handlerField, TypeBuilder typeBuilder ) : void
ProxyFactory ( ) : System

Initialize the value type mapper. This is needed for methods with intrinsic return types, used in the Emit process.

Method Details

Create() public méthode

public Create ( IDynamicProxy handler, Type objType, Type aditionalInterfaces = null ) : object
handler IDynamicProxy
objType System.Type
aditionalInterfaces System.Type
Résultat object

GetInstance() public static méthode

Creates a new instance of the ProxyFactory.
public static GetInstance ( ) : ProxyFactory
Résultat ProxyFactory