Share via


IPatternMatcher Interface

Definition

Defines a pattern matcher that can compare a candidate string against a search pattern to identify relevance. IPatternMatcherFactory defines the way to obtain an IPatternMatcher given a search pattern and options.

public interface class IPatternMatcher
public interface IPatternMatcher
type IPatternMatcher = interface
Public Interface IPatternMatcher

Properties

HasInvalidPattern

Determines whether given pattern is invalid, in which case TryMatch(String) would return no PatternMatches.

Methods

TryMatch(String)

Determines if, and how well a candidate string matches a search pattern and a set of PatternMatcherCreationOptions.

Applies to