C# Class BrightIdeasSoftware.CompositeAllFilter

A CompositeAllFilter joins several other filters together. A model object must satisfy all filters to be included. If there are no filters, all model objects are included
Inheritance: CompositeFilter
ファイルを表示 Open project: soywiz/cspspemu Class Usage Examples

Public Methods

Method Description
CompositeAllFilter ( List filters ) : System

Create a 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

Method Details

CompositeAllFilter() public method

Create a filter
public CompositeAllFilter ( List filters ) : System
filters List
return System

FilterObject() public method

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 FilterObject ( object modelObject ) : bool
modelObject object The model object under consideration
return bool