C# Class Spring.Core.RegularExpressionCriteria

A base class for all Spring.Core.ICriteria implementations that are regular expression based.
Inheritance: ICriteria
Afficher le fichier Open project: spring-projects/spring-net

Méthodes publiques

Méthode Description
IsSatisfied ( object datum ) : bool

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

Méthodes protégées

Méthode Description
IsMatch ( string input ) : bool

Convenience method that calls the System.Text.RegularExpressions.Regex.IsMatch(string) on the supplied input.

RegularExpressionCriteria ( ) : System.Text.RegularExpressions

Creates a new instance of the RegularExpressionCriteria class.

RegularExpressionCriteria ( string pattern ) : System.Text.RegularExpressions

Creates a new instance of the RegularExpressionCriteria class.

Method Details

IsMatch() protected méthode

Convenience method that calls the System.Text.RegularExpressions.Regex.IsMatch(string) on the supplied input.
protected IsMatch ( string input ) : bool
input string The input to match against.
Résultat bool

IsSatisfied() public abstract méthode

Does the supplied datum satisfy the criteria encapsulated by this instance?
public abstract IsSatisfied ( object datum ) : bool
datum object The datum to be checked by this criteria instance.
Résultat bool

RegularExpressionCriteria() protected méthode

Creates a new instance of the RegularExpressionCriteria class.
protected RegularExpressionCriteria ( ) : System.Text.RegularExpressions
Résultat System.Text.RegularExpressions

RegularExpressionCriteria() protected méthode

Creates a new instance of the RegularExpressionCriteria class.
protected RegularExpressionCriteria ( string pattern ) : System.Text.RegularExpressions
pattern string /// The regular expression pattern to be applied. ///
Résultat System.Text.RegularExpressions