Enhanced C#
Language of your choice: library documentation
|
Helper methods for checking argument values that throw exceptions when an argument value is not acceptable. More...
Helper methods for checking argument values that throw exceptions when an argument value is not acceptable.
Static Public Member Functions | |
static T | IsNotNull< T > (string paramName, T arg) |
static int | IsNotNegative (string argName, int value) |
static int | IsInRange (string paramName, int value, int min, int max) |
static void | ThrowOutOfRange (string argName) |
static void | ThrowOutOfRange (string argName, int value, int min, int max) |
static void | ThrowArgumentNull (string argName) |
static void | Arg (string argName, bool condition, object argValue) |
static void | Arg (string argName, bool condition) |