C# Class ScrewTurn.Wiki.Plugins.SqlCommon.SqlWordFetcher

Implements a word fetcher for a SQL-based index.
Inheritance: IWordFetcher
Mostra file Open project: mono/ScrewTurnWiki

Public Methods

Method Description
Dispose ( ) : void

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

SqlWordFetcher ( DbConnection connection, TryFindWord implementation ) : System

Initializes a new instance of the T:SqlWordFetcher 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

SqlWordFetcher() public method

Initializes a new instance of the T:SqlWordFetcher class.
public SqlWordFetcher ( DbConnection connection, TryFindWord implementation ) : System
connection System.Data.Common.DbConnection An open database connection.
implementation TryFindWord The method implementation.
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 ScrewTurn.Wiki.SearchEngine.Word The found word, if any, null otherwise.
return bool