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

Implements a word fetcher for a SQL-based index.
Inheritance: IWordFetcher
Afficher le fichier Open project: mono/ScrewTurnWiki

Méthodes publiques

Méthode 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 méthode

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

SqlWordFetcher() public méthode

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.
Résultat System

TryGetWord() public méthode

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.
Résultat bool