Constructor DataFilter
DataFilter(Func<DataSource, bool>, Func<Section, bool>)
Initializes a new instance of the DataFilter class with filter functions for both data sources and sections.
public DataFilter(Func<DataSource, bool> dataSourceFilter, Func<Section, bool> sectionFilter)
Parameters
dataSourceFilter
Func<DataSource, bool>A function that determines if a DataSource should be excluded. Return
true
to filter out the data source.sectionFilter
Func<Section, bool>A function that determines if a Section should be excluded. Return
true
to filter out the section.
DataFilter(Func<DataSource, bool>)
Initializes a new instance of the DataFilter class with a filter function for data sources.
public DataFilter(Func<DataSource, bool> dataSourceFilter)
Parameters
dataSourceFilter
Func<DataSource, bool>A function that determines if a DataSource should be excluded. Return
true
to filter out the data source.
DataFilter(Func<Section, bool>)
Initializes a new instance of the DataFilter class with a filter function for sections.
public DataFilter(Func<Section, bool> sectionFilter)