C# Class BrightIdeasSoftware.CompositeAnyFilter

A CompositeAllFilter joins several other filters together. A model object must only satisfy one of the filters to be included. If there are no filters, all model objects are included
Inheritance: CompositeFilter
显示文件 Open project: soywiz/cspspemu

Public Methods

Method Description
CompositeAnyFilter ( List filters ) : System

Create a filter from the given filters

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

CompositeAnyFilter() public method

Create a filter from the given filters
public CompositeAnyFilter ( 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