/// <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; }
/// <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; }
/// <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; }