C# 클래스 System.Linq.Expressions.Tests.TypeExtensions

파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
GetConstructor ( this _this, Type types ) : ConstructorInfo

비공개 메소드들

메소드 설명
AreEquivalent ( Type t1, Type t2 ) : bool
AreReferenceAssignable ( Type dest, Type src ) : bool
GetAnyStaticMethodValidated ( this type, string name, Type types ) : MethodInfo
GetReturnType ( this mi ) : Type
IsByRefParameter ( this pi ) : bool
MatchesArgumentTypes ( this mi, Type argTypes ) : bool

Returns true if the method's parameter types are reference assignable from the argument types, otherwise false. An example that can make the method return false is that typeof(double).GetMethod("op_Equality", ..., new[] { typeof(double), typeof(int) }) returns a method with two double parameters, which doesn't match the provided argument types.

메소드 상세

GetConstructor() 공개 정적인 메소드

public static GetConstructor ( this _this, Type types ) : ConstructorInfo
_this this
types Type
리턴 System.Reflection.ConstructorInfo