Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilterField"/>
 /// </summary>
 /// <param name="field">The field name</param>
 /// <param name="operator">the filter operation</param>
 /// <param name="value">An object representing the field value</param>
 /// <param name="type">The type of the filter field</param>
 /// <param name="originalValue">A string containing the original value</param>
 public FilterField(string field, FilterFieldOperations @operator, object value, Type type, string originalValue)
 {
     Field         = field;
     Operator      = @operator;
     Value         = value;
     Type          = type;
     OriginalValue = originalValue;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilterField"/>
 /// </summary>
 /// <param name="field">The field name</param>
 /// <param name="operator">the filter operation</param>
 /// <param name="value">An object representing the field value</param>
 /// <param name="type">The type of the filter field</param>
 public FilterField(string field, FilterFieldOperations @operator, object value, Type type) : this(field, @operator, value, type, "")
 {
 }