Guard.CheckRangeInclusive(Integer,Integer,Integer) Method

Checks an argument to ensure it is in the specified range including the bounds.

Namespace: Spring
public
 class procedure CheckRangeInclusive(value, min, max: Integer); overload; static; inline;

Parameters

value
Type: Integer

The argument value to check.

min
Type: Integer

The minimum allowed value for the argument.

max
Type: Integer

The maximum allowed value for the argument.

EArgumentOutOfRangeException
The value is not within the specified range.