protected override string ConvertToValue(out bool value) { string error; value = NumberVMUtils.ParseBoolean(StringValue, out error); return(error); }
protected override string ConvertToValue(out ushort value) { string error; value = NumberVMUtils.ParseUInt16(StringValue, Min, Max, out error); return(error); }
protected override string ConvertToValue(out TimeSpan value) { string error; value = NumberVMUtils.ParseTimeSpan(StringValue, out error); return(error); }
protected override string ConvertToValue(out sbyte value) { string error; value = NumberVMUtils.ParseSByte(StringValue, Min, Max, out error); return(error); }
protected override string ConvertToValue(out long value) { string error; value = NumberVMUtils.ParseInt64(StringValue, Min, Max, out error); return(error); }
protected override string ConvertToValue(out IList <byte> value) { string error; value = NumberVMUtils.ParseByteArray(StringValue, out error); return(error); }
protected override string ConvertToValue(out IList <float> value) { string error; value = NumberVMUtils.ParseSingleList(StringValue, out error); return(error); }
protected override string ConvertToValue(out double value) { string error; value = NumberVMUtils.ParseDouble(StringValue, out error); return(error); }
protected override string ConvertToValue(out IList <int> value) { string error; value = NumberVMUtils.ParseInt32List(StringValue, Min, Max, out error); return(error); }
protected override string ConvertToValue(out char value) { string error; value = NumberVMUtils.ParseChar(StringValue, out error); return(error); }
protected override string ConvertToValue(out string value) { string error; value = NumberVMUtils.ParseString(StringValue, allowNullString, out error); return(error); }
protected override string ConvertToValue(out bool?value) { string error = null; if (IsNull) { value = null; } else { value = NumberVMUtils.ParseBoolean(StringValue, out error); } return(error); }
protected override string ConvertToValue(out ulong?value) { string error = null; if (IsNull) { value = null; } else { value = NumberVMUtils.ParseUInt64(StringValue, Min, Max, out error); } return(error); }
protected override string OnNewValue(TimeSpan value) { return(NumberVMUtils.ToString(value)); }
protected override string OnNewValue(IList <float> value) { return(NumberVMUtils.ToString(value)); }
protected override string OnNewValue(string value) { return(NumberVMUtils.ToString(value, allowNullString)); }
protected override string OnNewValue(double value) { return(NumberVMUtils.ToString(value)); }
protected override string OnNewValue(IList <byte> value) { return(NumberVMUtils.ByteArrayToString(value, UpperCaseHex)); }
protected override string OnNewValue(long value) { return(NumberVMUtils.ToString(value, Min, Max, UseDecimal)); }
protected override string OnNewValue(bool?value) { return(value == null ? string.Empty : NumberVMUtils.ToString(value.Value)); }
protected override string OnNewValue(ulong?value) { return(value == null ? string.Empty : NumberVMUtils.ToString(value.Value, Min, Max, UseDecimal)); }