C# Класс ScrewTurn.Wiki.Plugins.SqlCommon.SqlWordFetcher

Implements a word fetcher for a SQL-based index.
Наследование: IWordFetcher
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

SqlWordFetcher() публичный Метод

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.
Результат System

TryGetWord() публичный Метод

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.
Результат bool