public static IEnumerable <Type> GetKnownTypesOf(this IAssemblyRegistry registry, Type baseType) { return(registry.GetConcreteTypesDerivingFrom(baseType).Where(x => !x.IsGenericType)); }
public static IEnumerable <Type> GetConcreteTypesDerivingFrom <T>(this IAssemblyRegistry registry) { return(registry.GetConcreteTypesDerivingFrom(typeof(T))); }