CheckError class

CheckError class offer short syntax over the Check class

ArgumentNullException(object param, string paramName)
Throw ArgumentNullException if param is null
CheckError.ArgumentNullException(param1, "param1");

ArgumentNullException(object param, string paramName, string message)
Throw ArgumentNullException if param is null
CheckError.ArgumentNullException(param1, "param1", "My message");

Last edited Jul 4, 2011 at 1:37 AM by cloudlucky, version 1

Comments

No comments yet.