C# Class SimpleAuth.ReflectionExtensions

Afficher le fichier Open project: Clancey/SimpleAuth

Méthodes publiques

Méthode Description
GetAddMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
GetConstructors ( this type ) : IEnumerable
GetConstructors ( this type, BindingFlags flags ) : IEnumerable
GetCustomAttributes ( this type, Type attributeType, bool inherit ) : System.Attribute[]
GetCustomAttributes ( this member, bool inherit ) : System.Attribute[]
GetEvent ( this type, string name ) : EventInfo
GetField ( this type, string name ) : FieldInfo
GetField ( this type, string name, BindingFlags flags ) : FieldInfo
GetFields ( this type ) : IEnumerable
GetFields ( this type, BindingFlags flags ) : IEnumerable
GetGenericArguments ( this type ) : System.Type[]
GetGetMethod ( this property, bool nonPublic = false ) : MethodInfo
GetInterfaces ( this type ) : IEnumerable
GetMethod ( this type, string name ) : MethodInfo
GetMethod ( this type, string name, BindingFlags flags ) : MethodInfo
GetMethods ( this type ) : IEnumerable
GetMethods ( this type, BindingFlags flags ) : IEnumerable
GetProperties ( this type ) : IEnumerable
GetProperties ( this type, BindingFlags flags ) : IEnumerable
GetProperty ( this type, string name ) : PropertyInfo
GetProperty ( this type, string name, BindingFlags flags ) : PropertyInfo
GetRemoveMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
GetSetMethod ( this property, bool nonPublic = false ) : MethodInfo
GetTypes ( this assembly ) : IEnumerable
IsAssignableFrom ( this type, Type otherType ) : bool
IsInstanceOfType ( this type, object obj ) : bool

Method Details

GetAddMethod() public static méthode

public static GetAddMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
eventInfo this
nonPublic bool
Résultat System.Reflection.MethodInfo

GetConstructors() public static méthode

public static GetConstructors ( this type ) : IEnumerable
type this
Résultat IEnumerable

GetConstructors() public static méthode

public static GetConstructors ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
Résultat IEnumerable

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( this type, Type attributeType, bool inherit ) : System.Attribute[]
type this
attributeType System.Type
inherit bool
Résultat System.Attribute[]

GetCustomAttributes() public static méthode

public static GetCustomAttributes ( this member, bool inherit ) : System.Attribute[]
member this
inherit bool
Résultat System.Attribute[]

GetEvent() public static méthode

public static GetEvent ( this type, string name ) : EventInfo
type this
name string
Résultat System.Reflection.EventInfo

GetField() public static méthode

public static GetField ( this type, string name ) : FieldInfo
type this
name string
Résultat System.Reflection.FieldInfo

GetField() public static méthode

public static GetField ( this type, string name, BindingFlags flags ) : FieldInfo
type this
name string
flags BindingFlags
Résultat System.Reflection.FieldInfo

GetFields() public static méthode

public static GetFields ( this type ) : IEnumerable
type this
Résultat IEnumerable

GetFields() public static méthode

public static GetFields ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
Résultat IEnumerable

GetGenericArguments() public static méthode

public static GetGenericArguments ( this type ) : System.Type[]
type this
Résultat System.Type[]

GetGetMethod() public static méthode

public static GetGetMethod ( this property, bool nonPublic = false ) : MethodInfo
property this
nonPublic bool
Résultat System.Reflection.MethodInfo

GetInterfaces() public static méthode

public static GetInterfaces ( this type ) : IEnumerable
type this
Résultat IEnumerable

GetMethod() public static méthode

public static GetMethod ( this type, string name ) : MethodInfo
type this
name string
Résultat System.Reflection.MethodInfo

GetMethod() public static méthode

public static GetMethod ( this type, string name, BindingFlags flags ) : MethodInfo
type this
name string
flags BindingFlags
Résultat System.Reflection.MethodInfo

GetMethods() public static méthode

public static GetMethods ( this type ) : IEnumerable
type this
Résultat IEnumerable

GetMethods() public static méthode

public static GetMethods ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
Résultat IEnumerable

GetProperties() public static méthode

public static GetProperties ( this type ) : IEnumerable
type this
Résultat IEnumerable

GetProperties() public static méthode

public static GetProperties ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
Résultat IEnumerable

GetProperty() public static méthode

public static GetProperty ( this type, string name ) : PropertyInfo
type this
name string
Résultat System.Reflection.PropertyInfo

GetProperty() public static méthode

public static GetProperty ( this type, string name, BindingFlags flags ) : PropertyInfo
type this
name string
flags BindingFlags
Résultat System.Reflection.PropertyInfo

GetRemoveMethod() public static méthode

public static GetRemoveMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
eventInfo this
nonPublic bool
Résultat System.Reflection.MethodInfo

GetSetMethod() public static méthode

public static GetSetMethod ( this property, bool nonPublic = false ) : MethodInfo
property this
nonPublic bool
Résultat System.Reflection.MethodInfo

GetTypes() public static méthode

public static GetTypes ( this assembly ) : IEnumerable
assembly this
Résultat IEnumerable

IsAssignableFrom() public static méthode

public static IsAssignableFrom ( this type, Type otherType ) : bool
type this
otherType System.Type
Résultat bool

IsInstanceOfType() public static méthode

public static IsInstanceOfType ( this type, object obj ) : bool
type this
obj object
Résultat bool