C# Класс SpeakFriend.Utilities.TypeExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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