C# Class Gammtek.Conduit.Text.StringMatching.CombinedStringMatcher

Combines multiple string matchers. Input string is matched if matched by any of the contained matchers.
Inheritance: IStringMatcher
Afficher le fichier Open project: ME3Explorer/ME3Explorer

Méthodes publiques

Méthode Description
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.

Method Details

Add() public méthode

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.
Résultat void

AddRange() public méthode

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.
Résultat void

CombinedStringMatcher() public méthode

Default constructor.
public CombinedStringMatcher ( ) : System
Résultat System

CombinedStringMatcher() public méthode

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.
Résultat System

IsMatch() public méthode

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.
Résultat bool