C# 클래스 SignalWire.Providers.GenericExtensions

파일 보기 프로젝트 열기: amazedsaint/SignalWire

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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).

메소드 상세

GetMethodExt() 공개 정적인 메소드

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
리턴 System.Reflection.MethodInfo

GetMethodExt() 공개 정적인 메소드

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
리턴 System.Reflection.MethodInfo