Open sandboxFocus

Method GetDerivedTypes

GetDerivedTypes(INamedType, bool)

Get all types derived from a given type within the projects loaded in the current Workspace.

Declaration
public static IEnumerable<INamedType> GetDerivedTypes(this INamedType type, bool directOnly = false)
Parameters
Type Name Description
INamedType type
bool directOnly

If true, only types directly derived from type are returned.

Returns
Type Description
IEnumerable<INamedType>