C# Класс Spring.Core.RegularExpressionCriteria

A base class for all Spring.Core.ICriteria implementations that are regular expression based.
Наследование: ICriteria
Показать файл Открыть проект

Открытые методы

Метод Описание
IsSatisfied ( object datum ) : bool

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

Защищенные методы

Метод Описание
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.

Описание методов

IsMatch() защищенный Метод

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.
Результат bool

IsSatisfied() публичный абстрактный Метод

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.
Результат bool

RegularExpressionCriteria() защищенный Метод

Creates a new instance of the RegularExpressionCriteria class.
protected RegularExpressionCriteria ( ) : System.Text.RegularExpressions
Результат System.Text.RegularExpressions

RegularExpressionCriteria() защищенный Метод

Creates a new instance of the RegularExpressionCriteria class.
protected RegularExpressionCriteria ( string pattern ) : System.Text.RegularExpressions
pattern string /// The regular expression pattern to be applied. ///
Результат System.Text.RegularExpressions