Class DataFilter
Provides filtering functionality for DataSource and Section objects.
public sealed class DataFilter
- Inheritance
-
DataFilter
- Inherited Members
Remarks
A DataFilter instance holds delegate functions that determine whether a specific DataSource or Section should be excluded
during retrieval operations. When the filter function returns true
for a given object, that object is skipped.
Constructors
- DataFilter(Func<DataSource, bool>)
Initializes a new instance of the DataFilter class with a filter function for data sources.
- DataFilter(Func<DataSource, bool>, Func<Section, bool>)
Initializes a new instance of the DataFilter class with filter functions for both data sources and sections.
- DataFilter(Func<Section, bool>)
Initializes a new instance of the DataFilter class with a filter function for sections.
Properties
- DataSourceFilter
Gets the filter function applied to DataSource objects.
- SectionFilter
Gets the filter function applied to Section objects.