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

Combines multiple string matchers. Input string is matched if matched by any of the contained matchers.
Наследование: IStringMatcher
Показать файл Открыть проект

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

Метод Описание
Add ( IStringMatcher matcher ) : void

Adds new matcher to the list of contained matchers.

AddRange ( IStringMatcher matchers ) : void

Adds multiple matchers to the set of contained matchers.

CombinedStringMatcher ( ) : System

Default constructor.

CombinedStringMatcher ( IStringMatcher matchers ) : System

Constructor which initializes list of contained string matchers.

IsMatch ( string value ) : bool

Tests whether specified string can be matched using any of the contained matchers.

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

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

Adds new matcher to the list of contained matchers.
is null.
public Add ( IStringMatcher matcher ) : void
matcher IStringMatcher New matcher to add to the list.
Результат void

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

Adds multiple matchers to the set of contained matchers.
is null or contains null reference.
public AddRange ( IStringMatcher matchers ) : void
matchers IStringMatcher Array of matchers that should be added.
Результат void

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

Default constructor.
public CombinedStringMatcher ( ) : System
Результат System

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

Constructor which initializes list of contained string matchers.
is null or contains null reference.
public CombinedStringMatcher ( IStringMatcher matchers ) : System
matchers IStringMatcher Array of matchers that should be added to this matcher.
Результат System

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

Tests whether specified string can be matched using any of the contained matchers.
public IsMatch ( string value ) : bool
value string String which is tested against contained matchers.
Результат bool