C# Класс Gammtek.Conduit.Text.StringMatching.ExactMatcher

Implements IStringMatcher interface in such way that string matches the pattern only if it is exactly the same as the pattern.
Наследование: IStringMatcher
Показать файл Открыть проект

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

Метод Описание
ExactMatcher ( )

Default constructor.

ExactMatcher ( string pattern )

Constructor which initializes search pattern.

IsMatch ( string value ) : bool

Tests whether value equals stored pattern or not.

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

ExactMatcher() публичный Метод

Default constructor.
public ExactMatcher ( )

ExactMatcher() публичный Метод

Constructor which initializes search pattern.
public ExactMatcher ( string pattern )
pattern string Pattern against which input strings are matched.

IsMatch() публичный Метод

Tests whether value equals stored pattern or not.
public IsMatch ( string value ) : bool
value string String which is compared with stored pattern. Value null is treated as empty string.
Результат bool