dennis-doomen submitted these extension methods

  • IsSubclassOfRawGeneric

    Is essentially a modified version of Type.IsSubClassOf that supports checking whether a class derives from a generic base-class without specifying the type parameters. For instance, it supports typeof(List<>) to see if a class derives from the List<T> class. The actual code was borrowed from
    C# System.Type Dennis Doomen