C# Class SignalWire.Providers.GenericExtensions

Afficher le fichier Open project: amazedsaint/SignalWire

Méthodes publiques

Méthode Description
GetMethodExt ( this thisType, string name ) : MethodInfo

Search for a method by name and parameter types. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.

GetMethodExt ( this thisType, string name, BindingFlags bindingFlags ) : MethodInfo

Search for a method by name, parameter types, and binding flags. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.

Private Methods

Méthode Description
GetMethodExt ( MethodInfo &matchingMethod, Type type, string name, BindingFlags bindingFlags ) : void
IsSimilarType ( this thisType, Type type ) : bool

Determines if the two types are either identical, or are both generic parameters or generic types with generic parameters in the same locations (generic parameters match any other generic paramter, but NOT concrete types).

Method Details

GetMethodExt() public static méthode

Search for a method by name and parameter types. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.
public static GetMethodExt ( this thisType, string name ) : MethodInfo
thisType this
name string
Résultat System.Reflection.MethodInfo

GetMethodExt() public static méthode

Search for a method by name, parameter types, and binding flags. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.
public static GetMethodExt ( this thisType, string name, BindingFlags bindingFlags ) : MethodInfo
thisType this
name string
bindingFlags BindingFlags
Résultat System.Reflection.MethodInfo