Cuemon .NET Framework
Validator Class Methods


For a list of all members of this type, see Validator members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)ThrowIfOverloaded. Validates from the provided Condition. An exception is resolved and thrown if the Condition evaluates true.  
Public Methodstatic (Shared in Visual Basic)ThrowIfContainsTypeOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified value is contained within at least one of the specified types.  
Public Methodstatic (Shared in Visual Basic)ThrowIfEmailAddressOverloaded. Validates and throws an System.ArgumentException if the specified value has the format of an email address.  
Public Methodstatic (Shared in Visual Basic)ThrowIfEmptyOverloaded. Validates and throws an ArgumentEmptyException if the specified value is empty.  
Public Methodstatic (Shared in Visual Basic)ThrowIfEnumOverloaded. Validates and throws an System.ArgumentException if the specified value represents an enumeration.  
Public Methodstatic (Shared in Visual Basic)ThrowIfEnumTypeOverloaded. Validates and throws an TypeArgumentException if the specified TEnum represents an enumeration.  
Public Methodstatic (Shared in Visual Basic)ThrowIfEqualOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x object are equal to the y object.  
Public Methodstatic (Shared in Visual Basic)ThrowIfFalseOverloaded. Validates and throws an System.ArgumentException if the specified value is false.  
Public Methodstatic (Shared in Visual Basic)ThrowIfGreaterThanOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x is greater than y.  
Public Methodstatic (Shared in Visual Basic)ThrowIfGreaterThanOrEqualOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x is greater than or equal to y.  
Public Methodstatic (Shared in Visual Basic)ThrowIfGuidOverloaded. Validates and throws an System.ArgumentException if the specified value has the format of a System.Guid.  
Public Methodstatic (Shared in Visual Basic)ThrowIfHexOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified value is hexadecimal.  
Public Methodstatic (Shared in Visual Basic)ThrowIfLowerThanOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x is lower than y.  
Public Methodstatic (Shared in Visual Basic)ThrowIfLowerThanOrEqualOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x is lower than or equal to y.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotOverloaded. Validates from the provided Condition. An exception is resolved and thrown if the Condition evaluates false.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotContainsTypeOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified value is not contained within at least one of the specified types.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotEmailAddressOverloaded. Validates and throws an System.ArgumentException if the specified value does not have the format of an email address.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotEnumOverloaded. Validates and throws an System.ArgumentException if the specified value does not represents an enumeration.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotEnumTypeOverloaded. Validates and throws an TypeArgumentException if the specified TEnum does not represents an enumeration.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotEqualOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x object are not equal to the y object.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotGuidOverloaded. Validates and throws an System.ArgumentException if the specified value does not have the format of a System.Guid.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotHexOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified value is not hexadecimal.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotNumberOverloaded. Validates and throws an System.ArgumentException if the specified value is not a number.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNotSameOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x object are not of the same instance as the y object.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNullOverloaded. Validates and throws an System.ArgumentNullException if the specified value is null.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNullOrEmptyOverloaded. Validates and throws either an System.ArgumentNullException or ArgumentEmptyException if the specified value is respectively null or empty.  
Public Methodstatic (Shared in Visual Basic)ThrowIfNumberOverloaded. Validates and throws an System.ArgumentException if the specified value is a number.  
Public Methodstatic (Shared in Visual Basic)ThrowIfSameOverloaded. Validates and throws an System.ArgumentOutOfRangeException if the specified x object are of the same instance as the y object.  
Public Methodstatic (Shared in Visual Basic)ThrowIfTrueOverloaded. Validates and throws an System.ArgumentException if the specified value is true.  
Top
See Also

Reference

Validator Class
Cuemon Namespace

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback