C# Class org.phprpc.util.DynamicProxy

Afficher le fichier Open project: bluelovers/phprpc Class Usage Examples

Protected Properties

Свойство Type Description
handler IInvocationHandler

Méthodes publiques

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

Méthodes protégées

Méthode Description
DynamicProxy ( IInvocationHandler handler ) : System
GetMethod ( Int32 index ) : MethodInfo

Private Methods

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

protected DynamicProxy ( IInvocationHandler handler ) : System
handler IInvocationHandler
Résultat System

GetInvocationHandler() public static méthode

public static GetInvocationHandler ( Object proxy ) : IInvocationHandler
proxy Object
Résultat IInvocationHandler

GetMethod() protected static méthode

protected static GetMethod ( Int32 index ) : MethodInfo
index System.Int32
Résultat System.Reflection.MethodInfo

GetProxy() public static méthode

public static GetProxy ( AppDomain domain ) : Type
domain System.AppDomain
Résultat System.Type

IsProxyType() public static méthode

public static IsProxyType ( Type type ) : System.Boolean
type System.Type
Résultat System.Boolean

NewInstance() public static méthode

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

Property Details

handler protected_oe property

protected IInvocationHandler handler
Résultat IInvocationHandler