3 implementations of IFilter
System.Data.Common (3)
System\Data\DataView.cs (1)
353private sealed class RowPredicateFilter : System.Data.IFilter
System\Data\Filter\DataExpression.cs (1)
12internal sealed class DataExpression : IFilter
System\Data\RelatedView.cs (1)
9internal sealed class RelatedView : DataView, IFilter
19 references to IFilter
System.Data.Common (19)
System\Data\DataTable.cs (2)
3179internal Index GetIndex(string sort, DataViewRowState recordStates, IFilter? rowFilter) => 3182internal Index GetIndex(IndexField[] indexDesc, DataViewRowState recordStates, IFilter? rowFilter)
System\Data\DataView.cs (5)
41private IFilter? _rowFilter; 365bool IFilter.Invoke(DataRow row, DataRowVersion version) 1209internal virtual IFilter? GetFilter() => _rowFilter; 1523internal virtual void SetIndex(string newSort, DataViewRowState newRowStates, IFilter? newRowFilter) 1528internal void SetIndex2(string newSort, DataViewRowState newRowStates, IFilter? newRowFilter, bool fireEvent)
System\Data\LinqDataView.cs (1)
218internal override void SetIndex(string newSort, DataViewRowState newRowStates, IFilter? newRowFilter)
System\Data\RelatedView.cs (3)
68IFilter? baseFilter = base.GetFilter(); 77internal override IFilter GetFilter() => this; 87internal override void SetIndex(string newSort, DataViewRowState newRowStates, IFilter? newRowFilter)
System\Data\Selection.cs (8)
88public Index(DataTable table, IndexField[] indexFields, DataViewRowState recordStates, IFilter? rowFilter) : 93public Index(DataTable table, System.Comparison<DataRow> comparison, DataViewRowState recordStates, IFilter? rowFilter) : 109private Index(DataTable table, IndexField[] indexFields, System.Comparison<DataRow>? comparison, DataViewRowState recordStates, IFilter? rowFilter) 143public bool Equal(IndexField[] indexDesc, DataViewRowState recordStates, IFilter? rowFilter) 171public IFilter? RowFilter => (IFilter?)(_rowFilter?.Target); 187private bool AcceptRecord(int record, IFilter? filter) 715private void InitRecords(IFilter? filter)