Guard.CheckRangeExclusive(Integer,Integer,Integer) Method

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

Namespace: Spring
public
 class procedure CheckRangeExclusive(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.