C# Class Antlr4.StringTemplate.Extensions.TypeExtensions

Afficher le fichier Open project: antlr/antlrcs

Méthodes publiques

Méthode Description
GetField ( this type, string name ) : FieldInfo
GetMethod ( this type, string name, Type parameters ) : MethodInfo
GetProperties ( this type ) : IEnumerable
GetProperty ( this type, string name ) : PropertyInfo
IsAssignableFrom ( this type, Type otherType ) : bool

Method Details

GetField() public static méthode

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

GetMethod() public static méthode

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

GetProperties() public static méthode

public static GetProperties ( this type ) : IEnumerable
type this
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

IsAssignableFrom() public static méthode

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