Click or drag to resize

ArgumentVerifier Class

Class which contains argument verification logic and which can throw exceptions if necessary. This code makes it easier to verify input arguments.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesArgumentVerifier

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public static class ArgumentVerifier

The ArgumentVerifier type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCantBeNull
Checks the argument passed in. if it's null, it throws an ArgumentNullException
Public methodStatic memberCantBeNullOrEmpty
Checks the argument passed in. if it's null or empty string, it throws an ArgumentNullException
Public methodStatic memberCantBeNullOrWhiteSpace
Checks the argument passed in. if it's null or whitespace, it throws an ArgumentNullException
Public methodStatic memberShouldBeTrueT
Checks if the argument returns true with the func passed in. If not, it throws an ArgumentException with the error message specified.
Top
See Also