[]
Represents a set of methods for validating values of general data types.
public sealed class ValidationUtils
Name | Description |
---|---|
ValidationUtils() |
Name | Description |
---|---|
Validate(Length) | Validates a length value against the RDL defined min/max length defaults ("0in","160in"). |
ValidateBoolean(ExpressionInfo) | Validates an expression value to make sure any literal booleans can be evaluate to either |
ValidateDouble(ExpressionInfo, double, double) | Validates an expression value to make sure it is valid and is within the specified min/max values. |
ValidateDouble(double, double, double) | Validates a double value to make sure it is valid and is within the specified min/max range limit. |
ValidateEnum(ExpressionInfo, Type) | Validates an expression value to make sure it is valid enum value and against the specified type. |
ValidateEnum(ExpressionInfo, Type, IList<string>) | Validates an expression value to make sure it is valid enum value and against the specified type. |
ValidateEnum(object, Type) | Validates an enum value against the specified type. |
ValidateInteger(ExpressionInfo, int, int) | Valiates an expression value to make sure it is valid integer value and is within the specified min/max values. |
ValidateInteger(int) | Validates an integer value to make sure it is valid and is within the specified usual default RDL min/max range limit (0, int.maxvalue). |
ValidateInteger(int, int, int) | Validates an integer value to make sure it is valid and is within the specified min/max range limit. |
ValidateInteger(int?) | Validates a nullable integer value to make sure it is valid and is within the specified usual default RDL min/max range limit (0, int.maxvalue). |
ValidateInteger(int?, int, int) | Validates a nullable integer value to make sure it is valid and is within the specified min/max range limit. |
ValidateLength(Length, Length, Length, params Length[]) | Validates a length value to make sure it is valid and is within the specified min/max range limit. |
ValidateLength(Length, params Length[]) | Validates a length value against the RDL defined min/max length defaults ("0in","160in"). |
ValidateLength(Length, bool) | Validates a length value against the RDL defined min/max length defaults ("0in","160in"). |
ValidateLength(ExpressionInfo) | Validates an expression value to make sure it is valid double value and against the RDL defined min/max length defaults ("0in","160in"). |
ValidateLength(ExpressionInfo, Length, Length) | Validates an expression value to make sure it is valid length value and is within the specified min/max range limit. |
Validate<T>(T) | Validates a value to make sure it is valid enum value. |