<PackageReference Include="NJsonSchema" Version="9.1.5" />

ReflectionExtensions

public static class ReflectionExtensions
public static Type FindCommonBaseType(this IEnumerable<Type> types)

public static Type GetEnumerableItemType(this Type type)

public static Type[] GetGenericTypeArguments(this Type type)

public static bool InheritsFrom(this Type type, string typeName, TypeNameStyle typeNameStyle)

public static bool IsAssignableTo(this Type type, string typeName, TypeNameStyle typeNameStyle)

public static T TryGetByObjectType<T>(this IEnumerable<T> attributes, string typeName, TypeNameStyle typeNameStyle = 1)

public static T TryGetIfAssignableTo<T>(this IEnumerable<T> attributes, string typeName, TypeNameStyle typeNameStyle = 1)