MetalamaAPI documentationPatterns APIMetalama.​Patterns.​ContractsContract­HelpersIs­In­Range
Open sandboxFocus

ContractHelpers.IsInRange Method

IsInRange<T>(T, Int64, Int64, UInt64, UInt64, Double, Double, Decimal, Decimal)

Declaration
public static bool IsInRange<T>(T value, long minInt64, long maxInt64, ulong minUInt64, ulong maxUInt64, double minDouble, double maxDouble, Decimal minDecimal, Decimal maxDecimal)
Parameters
Type Name Description
T value
System.Int64 minInt64
System.Int64 maxInt64
System.UInt64 minUInt64
System.UInt64 maxUInt64
System.Double minDouble
System.Double maxDouble
System.Decimal minDecimal
System.Decimal maxDecimal
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T