VoltDB.Data.Client.VoltDecimal.IsValidValue C# (CSharp) Метод

IsValidValue() приватный статический Метод

Returns whether a given BigDecimal value fits within the restrictions of the VoltDecimal type.
private static IsValidValue ( BigDecimal value ) : bool
value VoltDB.ThirdParty.Math.BigDecimal Value to check.
Результат bool
        private static bool IsValidValue(BigDecimal value)
        {
            if ((value == VoltDecimal.NullValue)
                || ((value >= VoltDecimal.MinValue) && (value <= VoltDecimal.MaxValue)))
                return true;
            return false;
        }