protected override string ConvertToValue(out short value) { string error; value = NumberVMUtils.ParseInt16(StringValue, Min, Max, out error); return(error); }
protected override string ConvertToValue(out short?value) { string error = null; if (IsNull) { value = null; } else { value = NumberVMUtils.ParseInt16(StringValue, Min, Max, out error); } return(error); }