C# 클래스 Machine.Mta.TypeHelpers

파일 보기 프로젝트 열기: machine/machine.mta

공개 메소드들

메소드 설명
AllGenericVariations ( this type, Type genericType ) : IEnumerable
BiggerThan ( this types, Type target ) : IEnumerable
Interfaces ( this type ) : IEnumerable
IsGenericlyCompatible ( this type1, Type type2 ) : bool
IsImplementationOfGenericType ( this type, Type genericType ) : bool
SmallerType ( this types ) : Type

비공개 메소드들

메소드 설명
CompareGenericParameterTypes ( Type type1, Type type2 ) : Int32
CompareTypes ( Type type1, Type type2 ) : Int32

메소드 상세

AllGenericVariations() 공개 정적인 메소드

public static AllGenericVariations ( this type, Type genericType ) : IEnumerable
type this
genericType System.Type
리턴 IEnumerable

BiggerThan() 공개 정적인 메소드

public static BiggerThan ( this types, Type target ) : IEnumerable
types this
target System.Type
리턴 IEnumerable

Interfaces() 공개 정적인 메소드

public static Interfaces ( this type ) : IEnumerable
type this
리턴 IEnumerable

IsGenericlyCompatible() 공개 정적인 메소드

public static IsGenericlyCompatible ( this type1, Type type2 ) : bool
type1 this
type2 System.Type
리턴 bool

IsImplementationOfGenericType() 공개 정적인 메소드

public static IsImplementationOfGenericType ( this type, Type genericType ) : bool
type this
genericType System.Type
리턴 bool

SmallerType() 공개 정적인 메소드

public static SmallerType ( this types ) : Type
types this
리턴 System.Type