C# Class Mono.VisualC.Interop.Util.ReflectionHelper

Mostrar archivo Open project: shana/cppinterop

Public Methods

Method Description
ApplyAttributes ( ParameterInfo param, Func makePB, bool forPInvoke ) : ParameterBuilder
ApplyMethodParameterAttributes ( MethodInfo source, DynamicMethod target, bool forPInvoke ) : void
ApplyMethodParameterAttributes ( MethodInfo source, MethodBuilder target, bool forPInvoke ) : void
GetDelegateParameterTypes ( Type delType ) : System.Type[]
GetMethodInfoForDelegate ( Type delType ) : MethodInfo
GetMethodParameterTypes ( MethodInfo method ) : System.Type[]

Method Details

ApplyAttributes() public static method

public static ApplyAttributes ( ParameterInfo param, Func makePB, bool forPInvoke ) : ParameterBuilder
param System.Reflection.ParameterInfo
makePB Func
forPInvoke bool
return System.Reflection.Emit.ParameterBuilder

ApplyMethodParameterAttributes() public static method

public static ApplyMethodParameterAttributes ( MethodInfo source, DynamicMethod target, bool forPInvoke ) : void
source System.Reflection.MethodInfo
target System.Reflection.Emit.DynamicMethod
forPInvoke bool
return void

ApplyMethodParameterAttributes() public static method

public static ApplyMethodParameterAttributes ( MethodInfo source, MethodBuilder target, bool forPInvoke ) : void
source System.Reflection.MethodInfo
target System.Reflection.Emit.MethodBuilder
forPInvoke bool
return void

GetDelegateParameterTypes() public static method

public static GetDelegateParameterTypes ( Type delType ) : System.Type[]
delType System.Type
return System.Type[]

GetMethodInfoForDelegate() public static method

public static GetMethodInfoForDelegate ( Type delType ) : MethodInfo
delType System.Type
return System.Reflection.MethodInfo

GetMethodParameterTypes() public static method

public static GetMethodParameterTypes ( MethodInfo method ) : System.Type[]
method System.Reflection.MethodInfo
return System.Type[]