示例#1
0
 /// <summary>
 /// Checks if the value is greater than or equal MaxValue.
 /// </summary>
 /// <param name="interval">The interval to compare.</param>
 /// <param name="value">A value to compare with MaxValue.</param>
 /// <returns>true if the specific value is greater than or equal MaxValue; otherwise, false.</returns>
 public static bool IsGreaterThanOrEqualMaxValue <T>(this ISimpleInterval <T> interval, T value)
 {
     return(interval.IsGreaterThanMaxValue(value) || interval.EqualsMaxValue(value));
 }