C# 클래스 ScrewTurn.Wiki.Plugins.SqlCommon.SqlWordFetcher

Implements a word fetcher for a SQL-based index.
상속: IWordFetcher
파일 보기 프로젝트 열기: mono/ScrewTurnWiki

공개 메소드들

메소드 설명
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