Example #1
0
        protected override string ConvertToValue(out sbyte value)
        {
            string error;

            value = NumberVMUtils.ParseSByte(StringValue, Min, Max, out error);
            return(error);
        }
Example #2
0
        protected override string ConvertToValue(out sbyte?value)
        {
            string error = null;

            if (IsNull)
            {
                value = null;
            }
            else
            {
                value = NumberVMUtils.ParseSByte(StringValue, Min, Max, out error);
            }
            return(error);
        }