C# 클래스 SpeakFriend.Utilities.TypeExtensions

파일 보기 프로젝트 열기: teamaton/speak-lib

공개 메소드들

메소드 설명
IsAssignableToGenericType ( this givenType, Type genericType ) : bool

Checks whether this Type inherits from or implements the given generic Type or Interface.

Praise goes to http://stackoverflow.com/questions/74616/how-to-detect-if-type-is-another-generic-type/75502#75502.

메소드 상세

IsAssignableToGenericType() 공개 정적인 메소드

Checks whether this Type inherits from or implements the given generic Type or Interface.
Praise goes to http://stackoverflow.com/questions/74616/how-to-detect-if-type-is-another-generic-type/75502#75502.
public static IsAssignableToGenericType ( this givenType, Type genericType ) : bool
givenType this
genericType System.Type
리턴 bool