C# Class ScrewTurn.Wiki.SearchEngine.InMemoryIndexWordFetcher

Implements a word fetcher for use with the in-memory index.
Inheritance: IWordFetcher
Show file Open project: mono/ScrewTurnWiki Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

InMemoryIndexWordFetcher ( Word>.Dictionary catalog ) : System

Initializes a new instance of the T:InMemoryWordFetcher class.

TryGetWord ( string text, Word &word ) : bool

Tries to get a word.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

InMemoryIndexWordFetcher() public method

Initializes a new instance of the T:InMemoryWordFetcher class.
public InMemoryIndexWordFetcher ( Word>.Dictionary catalog ) : System
catalog Word>.Dictionary The index catalog.
return System

TryGetWord() public method

Tries to get a word.
public TryGetWord ( string text, Word &word ) : bool
text string The text of the word.
word Word The found word, if any, null otherwise.
return bool