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

Mostrar archivo Open project: Jarvin-Guan/CleanAOP

Public Methods

Method Description
GetAllFields ( this type ) : System.Reflection.FieldInfo[]
GetAllInterfaces ( ) : ICollection

Returns list of all unique interfaces implemented given types, including their base interfaces.

GetAllInterfaces ( this type ) : ICollection
GetClosedParameterType ( this type, Type parameter ) : Type
SetStaticField ( this type, string fieldName, BindingFlags additionalFlags, object value ) : void
Sort ( MemberInfo members ) : System.Reflection.MemberInfo[]

Private Methods

Method Description
CloseGenericParametersIfAny ( AbstractTypeEmitter emitter, Type arguments ) : bool
Sort ( IEnumerable types ) : System.Type[]

Method Details

GetAllFields() public static method

public static GetAllFields ( this type ) : System.Reflection.FieldInfo[]
type this
return System.Reflection.FieldInfo[]

GetAllInterfaces() public static method

Returns list of all unique interfaces implemented given types, including their base interfaces.
public static GetAllInterfaces ( ) : ICollection
return ICollection

GetAllInterfaces() public static method

public static GetAllInterfaces ( this type ) : ICollection
type this
return ICollection

GetClosedParameterType() public static method

public static GetClosedParameterType ( this type, Type parameter ) : Type
type this
parameter System.Type
return System.Type

SetStaticField() public static method

public static SetStaticField ( this type, string fieldName, BindingFlags additionalFlags, object value ) : void
type this
fieldName string
additionalFlags BindingFlags
value object
return void

Sort() public static method

public static Sort ( MemberInfo members ) : System.Reflection.MemberInfo[]
members System.Reflection.MemberInfo
return System.Reflection.MemberInfo[]