Check Argument Class-[Clean-Nulled].zip
Open source help class to check arguments of a method.
This class C#.NET is used to check the arguments that arrive at a method, validating them.
It is an open source class, so you can extend its functionality using existing methods as an example.
To use it, please note the following example:
static void Main(string[] args)
{
//CheckArgumentTest
string name = “john”;
int age = -1;
string email = “celeru@hotmail”;
bool ret = CheckArgumentTest(name, age, email);
}
private static bool CheckArgumentTest(string name, int age, string email)
{
bool ret;
try
{
Check.Argument.IsNotEmpty(name, "name"); //CheckArgument Example
Check.Argument.IsNotOutOfRange(age, 18, 99, "age"); //CheckArgument Example
Check.Argument.IsNotValidEmail(email, "email"); //CheckArgument Example
ret = true;
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
ret = false;
}
return ret;
}
Mercifully Note: We refresh new substance like WordPress Themes,
Plugins, PHP Scripts ordinary. In any case, recall that you
ought to never utilize this things in a business site.
Every one of the substance posted here for advancement
and testing reason as it were. We’re not in charge of
any harm, use at your own particular RISK! We highly recommend to buy Check Argument Class from the The Developer ( celeru ) website. Thank you.