C# Класс BrightIdeasSoftware.TextMatchFilter.TextRegexMatchingStrategy

This component provides regex matching strategy.
Наследование: TextMatchingStrategy
Показать файл Открыть проект

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

Метод Описание
FindAllMatchedRanges ( string cellText ) : IEnumerable

Find all the ways in which this filter matches the given string.

This is used by the renderer to decide which bits of the string should be highlighted.

this.Text will not be null or empty when this is called.

MatchesText ( string cellText ) : bool

Does the given text match the filter

this.Text will not be null or empty when this is called.

TextRegexMatchingStrategy ( TextMatchFilter filter, string text ) : System

Creates a regex strategy

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

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

Find all the ways in which this filter matches the given string.

This is used by the renderer to decide which bits of the string should be highlighted.

this.Text will not be null or empty when this is called.

public FindAllMatchedRanges ( string cellText ) : IEnumerable
cellText string The text of the cell we want to search
Результат IEnumerable

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

Does the given text match the filter

this.Text will not be null or empty when this is called.

public MatchesText ( string cellText ) : bool
cellText string The text of the cell we want to search
Результат bool

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

Creates a regex strategy
public TextRegexMatchingStrategy ( TextMatchFilter filter, string text ) : System
filter TextMatchFilter
text string
Результат System