The Validation type exposes the following members.

Constructors

  NameDescription
Public methodValidation
Initializes a new instance of the Validation class

Methods

  NameDescription
Public methodStatic memberCalculateLuhnCheckDigit
Calculates a valid identifier with a correct LUHN check digit
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberValidateArgumentAtLeastOneRequired
Validates that at least one of multiple arguments is provided. Arguments and names are provided in a dictionary.
Public methodStatic memberValidateArgumentNotAllowed(String, Boolean)
Validates that the parameter is not specified, as denoted by the "isSpecified" field.
Public methodStatic memberValidateArgumentNotAllowed(String, Object)
Validates that the object is null or that if it is a string it contains a value and is an empty string.
Public methodStatic memberValidateArgumentRequired(String, ICollection)
Validates that a collection object has at least one value in it.
Public methodStatic memberValidateArgumentRequired(String, Object)
Validates that the object is not null, and that if it is a string it contains a value and is not an empty string.
Public methodStatic memberValidateArgumentRequired(String, array<Object>[]()[][])
Validates that the array contains at least one element.
Public methodStatic memberValidateArgumentRequired(String, array<String>[]()[][])
Validates that the string array contains at least one element which is not an empty string.
Public methodStatic memberValidateDateTime
Validates that a date time has been set (by checking that it is not the minimum value).
Public methodStatic memberValidateHPII
Validates that an argument is a valid qualified HPII.
Public methodStatic memberValidateHPIO
Validates that an argument is a valid qualified HPIO.
Public methodStatic memberValidateIHI
Validates that an argument is a valid qualified IHI.
Public methodStatic memberValidateLuhnCheckDigit
Validates a 16 digit LUHN checked health identifier
Public methodStatic memberValidateNumberRange
Validates that an integer is within acceptable range.
Public methodStatic memberValidatePastDateTime
Validates that a DateTime is a time in the past (a tolerance of 2 minutes is set).
Public methodStatic memberValidateStringLength
Validates that a string is of a particular length.
Public methodStatic memberValidateStringMatch
Validates that the string argument matches an expected string.
Public methodStatic memberValidateUUID
Validates that the argument is a UUID.

Extension Methods

  NameDescription
Public Extension MethodGetAttributeValue<(Of <<'(T, TExpected>)>>)
Extension Methods for retrieving a value from an interface
(Defined by Extensions.)
Public Extension MethodSerializeToXml()()()()Overloaded.
Serializes any object to XML.
(Defined by Extensions.)
Public Extension MethodSerializeToXml(String)Overloaded.
Serializes any object to XML.
(Defined by Extensions.)

See Also