Show / Hide Table of Contents

Class Int32Validator

Validates int values.

Inheritance
object
Int32Validator
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Validation
Assembly: Sartorius.SAF.dll
Syntax
public static class Int32Validator

Methods

View Source

IsValidInteger(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 value is a valid int, otherwise false.

  • View Source
Back to top Generated by DocFX