/// <summary> /// Validates a type argument, throwing ArgumentException if it is not assignable from the specified type. /// </summary> /// <typeparam name="T">The type the argument must implement or inherit from.</typeparam> /// <param name="value">The type to be validated..</param> /// <param name="argumentName">The argument name.</param> public static void IsAssignableFrom <T>(Type value, string argumentName) { Insist.IsAssignableFrom <T>(value, argumentName, null); }