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
Show file Open project: ME3Explorer/ME3Explorer

Public Methods

Method 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 method

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.
return void

AddRange() public method

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.
return void

CombinedStringMatcher() public method

Default constructor.
public CombinedStringMatcher ( ) : System
return System

CombinedStringMatcher() public method

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.
return System

IsMatch() public method

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.
return bool