Method | Description | |
---|---|---|
IsAssignableToGenericType ( this givenType, |
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, |
||
givenType | this | |
genericType | ||
return | bool |