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

Afficher le fichier Open project: Jarvin-Guan/CleanAOP

Méthodes publiques

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

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

Method Details

GetAllFields() public static méthode

public static GetAllFields ( this type ) : System.Reflection.FieldInfo[]
type this
Résultat System.Reflection.FieldInfo[]

GetAllInterfaces() public static méthode

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

GetAllInterfaces() public static méthode

public static GetAllInterfaces ( this type ) : ICollection
type this
Résultat ICollection

GetClosedParameterType() public static méthode

public static GetClosedParameterType ( this type, Type parameter ) : Type
type this
parameter System.Type
Résultat System.Type

SetStaticField() public static méthode

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

Sort() public static méthode

public static Sort ( MemberInfo members ) : System.Reflection.MemberInfo[]
members System.Reflection.MemberInfo
Résultat System.Reflection.MemberInfo[]