Skip to content

Commit 171e8ce

Browse files
committed
update IColumnFilterHandler.SelectedValues to ICollection<object?> for flexibility
1 parent 627adbd commit 171e8ce

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/ColumnFilterHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,5 @@ public virtual bool Filter(TableViewColumn column, object? item)
122122
}
123123

124124
/// <inheritdoc/>
125-
public IDictionary<TableViewColumn, IList<object>> SelectedValues { get; } = new Dictionary<TableViewColumn, IList<object>>();
125+
public IDictionary<TableViewColumn, ICollection<object?>> SelectedValues { get; } = new Dictionary<TableViewColumn, ICollection<object?>>();
126126
}

src/IColumnFilterHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public interface IColumnFilterHandler
1010
/// <summary>
1111
/// Gets or sets the selected values for the filter per column.
1212
/// </summary>
13-
IDictionary<TableViewColumn, IList<object>> SelectedValues { get; }
13+
IDictionary<TableViewColumn, ICollection<object?>> SelectedValues { get; }
1414

1515
/// <summary>
1616
/// Get the filter items for the specified column.

src/TableViewColumnHeader.OptionsFlyoutViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public IList<TableViewFilterItem> FilterItems
123123
/// <summary>
124124
/// Gets the selected values for the filter.
125125
/// </summary>
126-
public List<object> SelectedValues { get; set; } = [];
126+
public ICollection<object?> SelectedValues { get; set; } = [];
127127

128128
/// <summary>
129129
/// Sets the state of the select all checkbox.

0 commit comments

Comments
 (0)