Example #1
0
 /// <summary>
 /// Creates an instance of this class.
 /// </summary>
 /// <param name="filterType">The type of filter to be used for this item.</param>
 /// <param name="value">The current user value</param>
 /// <param name="valueOption">The current user option for this value</param>
 /// <param name="ignoreCase">Whether the ignore case option was selected</param>
 /// <history>
 /// </history>
 public FilterItem(FilterType filterType, string value, FilterType.ValueOptions valueOption, bool ignoreCase)
     : this()
 {
     Enabled         = true;
     FilterType      = filterType;
     Value           = value;
     ValueOption     = valueOption;
     ValueIgnoreCase = ignoreCase;
 }
Example #2
0
        /// <summary>
        /// Creates an instance of this class.
        /// </summary>
        /// <param name="filterType">The type of filter to be used for this item.</param>
        /// <param name="value">The current user value</param>
        /// <param name="valueOption">The current user option for this value</param>
        /// <param name="ignoreCase">Whether the ignore case option was selected</param>
        /// <param name="enabled">Whether this item is enabled or not</param>

        public FilterItem(FilterType filterType, string value, FilterType.ValueOptions valueOption, bool ignoreCase, bool enabled)
            : this(filterType, value, valueOption, ignoreCase)
        {
            Enabled = enabled;
        }
Example #3
0
 /// <summary>
 /// Creates an instance of this class.
 /// </summary>
 /// <param name="filterType">The type of filter to be used for this item.</param>
 /// <param name="value">The current user value</param>
 /// <param name="valueOption">The current user option for this value</param>
 /// <param name="ignoreCase">Whether the ignore case option was selected</param>
 /// <param name="valueSizeOption">The size display option for this value</param>
 /// <param name="enabled">Whether this item is enabled or not</param>
 public FilterItem(FilterType filterType, string value, FilterType.ValueOptions valueOption, bool ignoreCase, string valueSizeOption, bool enabled)
     : this(filterType, value, valueOption, ignoreCase, enabled)
 {
     ValueSizeOption = valueSizeOption;
 }