C# Class BrightIdeasSoftware.ModelFilter

This filter calls a given Predicate to decide if a model object should be included
Inheritance: IModelFilter
Mostrar archivo Open project: soywiz/cspspemu Class Usage Examples

Public Methods

Method Description
Filter ( object modelObject ) : bool

Should the given model object be included?

ModelFilter ( Predicate predicate ) : System

Create a filter based on the given predicate

Method Details

Filter() public method

Should the given model object be included?
public Filter ( object modelObject ) : bool
modelObject object
return bool

ModelFilter() public method

Create a filter based on the given predicate
public ModelFilter ( Predicate predicate ) : System
predicate Predicate The function that will filter objects
return System