C# Class Spring.Core.ComposedCriteria

A Spring.Core.ICriteria implementation that represents a composed collection of Spring.Core.ICriteria instances.
Inheritance: ICriteria
Show file Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
Add ( ICriteria criteria ) : void

Adds the supplied into the criteria composed within this instance.

ComposedCriteria ( ) : System.Collections.Generic

Creates a new instance of the ComposedCriteria class.

ComposedCriteria ( ICriteria criteria ) : System.Collections.Generic

Creates a new instance of the ComposedCriteria class.

IsSatisfied ( object datum ) : bool

Does the supplied datum satisfy the criteria encapsulated by this instance?

Method Details

Add() public method

Adds the supplied into the criteria composed within this instance.
public Add ( ICriteria criteria ) : void
criteria ICriteria /// The to be added. ///
return void

ComposedCriteria() public method

Creates a new instance of the ComposedCriteria class.
public ComposedCriteria ( ) : System.Collections.Generic
return System.Collections.Generic

ComposedCriteria() public method

Creates a new instance of the ComposedCriteria class.
public ComposedCriteria ( ICriteria criteria ) : System.Collections.Generic
criteria ICriteria /// A user-defined (child) criteria that will be composed into this instance. ///
return System.Collections.Generic

IsSatisfied() public method

Does the supplied datum satisfy the criteria encapsulated by this instance?
public IsSatisfied ( object datum ) : bool
datum object The data to be checked by this criteria instance.
return bool