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.Tools.Algorithmia.UtilityClassesArgumentVerifier

Namespace:  SD.Tools.Algorithmia.UtilityClasses
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
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 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