public JOperateNum(string fieldName, JValueType valueType) : this() { this.FieldName = fieldName; this.ValueType = valueType; this.Values = new List <object>(); }
private string GetFileValueFormat(JValueType valueType) { switch (valueType) { case JValueType.Numeric: return(this.NumericFieldValueFormat); case JValueType.String: return(this.StringFieldValueFormat); case JValueType.DateTime: return(this.DateTimeFieldValueFormat); default: return(this.StringFieldValueFormat); } }
private string GetFileValueFormat(JValueType valueType) { switch (valueType) { case JValueType.Numeric: return this.NumericFieldValueFormat; case JValueType.String: return this.StringFieldValueFormat; case JValueType.DateTime: return this.DateTimeFieldValueFormat; default: return this.StringFieldValueFormat; } }
private NotSupportedException GetException(string filedName, JValueType valueType, JValueCategroy sourceValueCategroy) { throw new NotSupportedException(string.Format("{0}不支持{1},Filed:{2}", valueType.ToString(), sourceValueCategroy.ToString(), filedName)); }
public FieldValueTypeNotSupportValueCategroyException(string filedName, JValueType valueType, JValueCategroy sourceValueCategroy) : base(string.Format("{0}不支持{1},Filed:{2}", valueType.ToString(), sourceValueCategroy.ToString(), filedName)) { }
public FieldValueTypeNotSupportOperatorException(string filedName, JValueType valueType, string operate) : base(string.Format("{0}不支持{1},Filed:{2}", valueType.ToString(), operate, filedName)) { }
public JOperateNum(string fieldName, JValueType valueType) : this() { this.FieldName = fieldName; this.ValueType = valueType; this.Values = new List<object>(); }