public static bool IsGenericAssignableFrom <TSource>(this Type parentType) { return(TypeReflections.IsImplementationOfGenericType(typeof(TSource), parentType, out _)); }
public static bool IsGenericAssignableFrom(this Type parentType, Type sourceType) { return(TypeReflections.IsImplementationOfGenericType(sourceType, parentType, out _)); }