C# Class BrightIdeasSoftware.TextMatchFilter.TextMatchingStrategy

Base class for the various types of string matching that TextMatchFilter provides
Show file Open project: tvoyle/ObjectListViewRepack

Public Methods

Method Description
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.

Method Details

FindAllMatchedRanges() public abstract method

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 abstract FindAllMatchedRanges ( string cellText ) : IEnumerable
cellText string The text of the cell we want to search
return IEnumerable

MatchesText() public abstract method

Does the given text match the filter

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

public abstract MatchesText ( string cellText ) : bool
cellText string The text of the cell we want to search
return bool