Method IsSameOrSubclass
| Improve this Doc View SourceIsSameOrSubclass(Type, Type)
Determines whether this type is the same or a subclass of another type
Declaration
public static bool IsSameOrSubclass(this Type type, Type @base)
Parameters
Type | Name | Description |
---|---|---|
Type | type | this type |
Type | base | Type against the type is checked |
Returns
Type | Description |
---|---|
bool | true if this type is the same or a subtype |