Пример #1
0
        public static bool IsOutOfRange <T>(this T first, T lowerLimit, T upperLimit) where T : struct, IComparable
        {
            ArgumentMust.BeGreaterOrEqual(() => upperLimit, lowerLimit);

            return(ComparablePredicates.IsOutOfRange(first, lowerLimit, upperLimit));
        }