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

Datei anzeigen Open project: stone-payments/Dlp.Framework Class Usage Examples

Public Methods

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

Creates a new instance of the ProxyFactory.

Private Methods

Method 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 method

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

GetInstance() public static method

Creates a new instance of the ProxyFactory.
public static GetInstance ( ) : ProxyFactory
return ProxyFactory