/// <summary> /// Throws a <see cref="System.ArgumentException"/> if the argument value does /// not conform to the given predicate. /// </summary> /// <typeparam name="T">The argument type.</typeparam> /// <param name="argValue">The argument value.</param> /// <param name="predicate">The predicate.</param> /// <param name="argName">The argument name.</param> public static void Conforms <T>(T argValue, Predicate <T> predicate, string argName) { Insist.Conforms(argValue, predicate, argName, null); }