C# Класс BrightIdeasSoftware.CompositeFilter

A CompositeFilter joins several other filters together. If there are no filters, all model objects are included
Наследование: IModelFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
CompositeFilter ( ) : System

Create an empty filter

CompositeFilter ( IEnumerable filters ) : System

Create a composite filter from the given list of filters

Filter ( object modelObject ) : bool

Decide whether or not the given model should be included by the filter

FilterObject ( object modelObject ) : bool

Decide whether or not the given model should be included by the filter

Filters is guaranteed to be non-empty when this method is called

Описание методов

CompositeFilter() публичный Метод

Create an empty filter
public CompositeFilter ( ) : System
Результат System

CompositeFilter() публичный Метод

Create a composite filter from the given list of filters
public CompositeFilter ( IEnumerable filters ) : System
filters IEnumerable A list of filters
Результат System

Filter() публичный Метод

Decide whether or not the given model should be included by the filter
public Filter ( object modelObject ) : bool
modelObject object
Результат bool

FilterObject() публичный абстрактный Метод

Decide whether or not the given model should be included by the filter
Filters is guaranteed to be non-empty when this method is called
public abstract FilterObject ( object modelObject ) : bool
modelObject object The model object under consideration
Результат bool