Class Int32Validator
Validates int values.
Namespace: Sartorius.SAF.Validation
Assembly: Sartorius.SAF.dll
Syntax
public static class Int32Validator
Methods
View SourceIsValidInteger(string, int?, int?)
Checks whether the given value is a valid int.
Declaration
public static bool IsValidInteger(string value, int? minimum = null, int? maximum = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The value to validate. |
| int? | minimum | The minimum allowed value |
| int? | maximum | The maximum allowed value |
Returns
| Type | Description |
|---|---|
| bool | True if the |