ReflectionExtensions.IsSubclassOf C# (CSharp) Method

IsSubclassOf() public static method

public static IsSubclassOf ( this type, Type c ) : bool
type this
c Type
return bool
    public static bool IsSubclassOf(this Type type, Type c)
    {
        return type.GetTypeInfo().IsSubclassOf(c);
    }