MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Contracts.​NumericNumeric­BoundCreate
Open sandboxFocus

NumericBound.Create Method

Create(Int64, Boolean, Int32)

Declaration
public static NumericBound Create(long value, bool isAllowed = true, int decimalPlaces = 0)
Parameters
Type Name Description
System.Int64 value
System.Boolean isAllowed
System.Int32 decimalPlaces
Returns
Type Description
NumericBound

Create(UInt64, Boolean)

Declaration
public static NumericBound Create(ulong value, bool isAllowed = true)
Parameters
Type Name Description
System.UInt64 value
System.Boolean isAllowed
Returns
Type Description
NumericBound

Create(Decimal, Boolean)

Declaration
public static NumericBound Create(Decimal value, bool isAllowed = true)
Parameters
Type Name Description
System.Decimal value
System.Boolean isAllowed
Returns
Type Description
NumericBound

Create(Double, Boolean)

Declaration
public static NumericBound Create(double value, bool isAllowed = true)
Parameters
Type Name Description
System.Double value
System.Boolean isAllowed
Returns
Type Description
NumericBound