C# Class SDE.Core.Avalon.RegexSearchStrategy

Inheritance: ISearchStrategy
Show file Open project: Tokeiburu/RagnarokSDE Class Usage Examples

Public Methods

Method Description
Equals ( ISearchStrategy other ) : bool
FindAll ( ITextSource document, int offset, int length ) : IEnumerable
FindNext ( ITextSource document, int offset, int length ) : ISearchResult
RegexSearchStrategy ( Regex searchPattern, bool matchWholeWords ) : System

Method Details

Equals() public method

public Equals ( ISearchStrategy other ) : bool
other ISearchStrategy
return bool

FindAll() public method

public FindAll ( ITextSource document, int offset, int length ) : IEnumerable
document ITextSource
offset int
length int
return IEnumerable

FindNext() public method

public FindNext ( ITextSource document, int offset, int length ) : ISearchResult
document ITextSource
offset int
length int
return ISearchResult

RegexSearchStrategy() public method

public RegexSearchStrategy ( Regex searchPattern, bool matchWholeWords ) : System
searchPattern System.Text.RegularExpressions.Regex
matchWholeWords bool
return System