C# Класс ACAT.Extensions.Default.SpellCheckers.SpellChecker

Наследование: ISpellChecker
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Disposes resources

Init ( ) : bool

Initializes the spell checker. Reads the spell check file and loads the spellings into the list

LoadDefaultSettings ( ) : bool

Loads factory default settings.

LoadSettings ( String configFileDirectory ) : bool

Loads settings from the specified directory

Lookup ( String word ) : String

Looks up the spelling list for the indicated word and returns the correct spelling if found. Returns empty string if it didn't find the word.

SaveSettings ( String configFileDirectory ) : bool

Saves settings into the specified directory

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Disposer. Release resources and cleanup.

Приватные методы

Метод Описание
createAndAdd ( XmlNode node ) : void

Extracts word and replacement from the xml node and adds the word and its replacement to the word list.

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

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

Disposes resources
public Dispose ( ) : void
Результат void

Dispose() защищенный метод

Disposer. Release resources and cleanup.
protected Dispose ( bool disposing ) : void
disposing bool true to dispose managed resources
Результат void

Init() публичный метод

Initializes the spell checker. Reads the spell check file and loads the spellings into the list
public Init ( ) : bool
Результат bool

LoadDefaultSettings() публичный метод

Loads factory default settings.
public LoadDefaultSettings ( ) : bool
Результат bool

LoadSettings() публичный метод

Loads settings from the specified directory
public LoadSettings ( String configFileDirectory ) : bool
configFileDirectory String directory name
Результат bool

Lookup() публичный метод

Looks up the spelling list for the indicated word and returns the correct spelling if found. Returns empty string if it didn't find the word.
public Lookup ( String word ) : String
word String word to lookup
Результат String

SaveSettings() публичный метод

Saves settings into the specified directory
public SaveSettings ( String configFileDirectory ) : bool
configFileDirectory String name of the directory
Результат bool