Class AbpComparableExtensions
Extension methods for
Inheritance
System.Object
AbpComparableExtensions
Namespace: System
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpComparableExtensions : object
Methods
IsBetween<T>(T, T, T)
Checks a value is between a minimum and maximum value.
Declaration
public static bool IsBetween<T>(this T value, T minInclusiveValue, T maxInclusiveValue)
where T : IComparable<T>
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value to be checked |
| T | minInclusiveValue | Minimum (inclusive) value |
| T | maxInclusiveValue | Maximum (inclusive) value |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Type Parameters
| Name | Description |
|---|---|
| T |