C# Class Castle.DynamicProxy.Generators.Emitters.GenericUtil

显示文件 Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
DefineGenericArguments ( Type genericArguments, MethodBuilder builder, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : System.Reflection.Emit.GenericTypeParameterBuilder[]
DefineGenericArguments ( Type genericArguments, TypeBuilder builder, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : System.Reflection.Emit.GenericTypeParameterBuilder[]
ExtractCorrectType ( Type paramType, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : Type
ExtractParameterTypes ( ParameterInfo baseMethodParameters ) : System.Type[]
ExtractParametersTypes ( ParameterInfo baseMethodParameters, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : System.Type[]
PopulateGenericArguments ( AbstractTypeEmitter parentEmitter, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : void

Private Methods

Method Description
DefineGenericArguments ( Type genericArguments, GenericTypeParameterBuilder>.Dictionary name2GenericType, ApplyGenArgs gen ) : System.Reflection.Emit.GenericTypeParameterBuilder[]
SubstituteGenericArguments ( Type type, Type argumentsToSubstitute, GenericTypeParameterBuilder substitutes ) : Type

Method Details

DefineGenericArguments() public static method

public static DefineGenericArguments ( Type genericArguments, MethodBuilder builder, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : System.Reflection.Emit.GenericTypeParameterBuilder[]
genericArguments System.Type
builder System.Reflection.Emit.MethodBuilder
name2GenericType GenericTypeParameterBuilder>.Dictionary
return System.Reflection.Emit.GenericTypeParameterBuilder[]

DefineGenericArguments() public static method

public static DefineGenericArguments ( Type genericArguments, TypeBuilder builder, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : System.Reflection.Emit.GenericTypeParameterBuilder[]
genericArguments System.Type
builder System.Reflection.Emit.TypeBuilder
name2GenericType GenericTypeParameterBuilder>.Dictionary
return System.Reflection.Emit.GenericTypeParameterBuilder[]

ExtractCorrectType() public static method

public static ExtractCorrectType ( Type paramType, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : Type
paramType System.Type
name2GenericType GenericTypeParameterBuilder>.Dictionary
return System.Type

ExtractParameterTypes() public static method

public static ExtractParameterTypes ( ParameterInfo baseMethodParameters ) : System.Type[]
baseMethodParameters System.Reflection.ParameterInfo
return System.Type[]

ExtractParametersTypes() public static method

public static ExtractParametersTypes ( ParameterInfo baseMethodParameters, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : System.Type[]
baseMethodParameters System.Reflection.ParameterInfo
name2GenericType GenericTypeParameterBuilder>.Dictionary
return System.Type[]

PopulateGenericArguments() public static method

public static PopulateGenericArguments ( AbstractTypeEmitter parentEmitter, GenericTypeParameterBuilder>.Dictionary name2GenericType ) : void
parentEmitter AbstractTypeEmitter
name2GenericType GenericTypeParameterBuilder>.Dictionary
return void