<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.TypeExtensions

static class TypeExtensions
Defines extension methods that allow coding against Type without conditional compilation on versions of .NET framework.
public static Type[] GetGenericArguments(this Type type)

public static Type[] GetInterfaces(this Type type)

public static PropertyInfo[] GetProperties(this Type type)

Returns all the public properties of the specified type.

public static bool IsAbstract(this Type type)

public static bool IsAssignableFrom(this Type type, Type otherType)

Returns a value that indicates whether the specified type can be assigned to the current type.

public static bool IsGenericType(this Type type)