ReflectionServiceIsSubClassOfOrImplements(Type, Type) Method |
Determines whether or not a given subtype is derived from a basetype or implements the interface basetype.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool IsSubClassOfOrImplements(
Type subtype,
Type basetype
)
Parameters
- subtype Type
- The subtype.
- basetype Type
- The basetype.
Return Value
BooleanIf basetype is a class type, the return value is true if subtype derives from basetype. If basetype is an interface, the return value is true if subtype implements the interface basetype. In all other cases the return value is false.
See Also