C# Class org.phprpc.util.DynamicProxy

Exibir arquivo Open project: bluelovers/phprpc Class Usage Examples

Protected Properties

Property Type Description
handler IInvocationHandler

Public Methods

Method Description
GetInvocationHandler ( Object proxy ) : IInvocationHandler
GetProxy ( AppDomain domain ) : Type
IsProxyType ( Type type ) : System.Boolean
NewInstance ( AppDomain domain, Type interfaces, IInvocationHandler handler ) : Object

Protected Methods

Method Description
DynamicProxy ( IInvocationHandler handler ) : System
GetMethod ( Int32 index ) : MethodInfo

Private Methods

Method Description
MakeMethod ( TypeBuilder typeBuilder, MethodInfo method, System.Boolean createPublic ) : MethodBuilder
MakeMethods ( TypeBuilder typeBuilder, Type type, System.Boolean createPublic ) : void
Register ( MethodInfo method ) : Int32
SumUpInterfaces ( Type interfaces ) : System.Type[]
SumUpInterfaces ( ArrayList types, Type interfaces ) : void
ToTypes ( ParameterInfo parameterInfos ) : System.Type[]

Method Details

DynamicProxy() protected method

protected DynamicProxy ( IInvocationHandler handler ) : System
handler IInvocationHandler
return System

GetInvocationHandler() public static method

public static GetInvocationHandler ( Object proxy ) : IInvocationHandler
proxy Object
return IInvocationHandler

GetMethod() protected static method

protected static GetMethod ( Int32 index ) : MethodInfo
index System.Int32
return System.Reflection.MethodInfo

GetProxy() public static method

public static GetProxy ( AppDomain domain ) : Type
domain System.AppDomain
return System.Type

IsProxyType() public static method

public static IsProxyType ( Type type ) : System.Boolean
type System.Type
return System.Boolean

NewInstance() public static method

public static NewInstance ( AppDomain domain, Type interfaces, IInvocationHandler handler ) : Object
domain System.AppDomain
interfaces System.Type
handler IInvocationHandler
return Object

Property Details

handler protected_oe property

protected IInvocationHandler handler
return IInvocationHandler