C# Class ACAT.Extensions.Default.SpellCheckers.SpellChecker

Inheritance: ISpellChecker
Afficher le fichier Open project: brlima94/acat-localization

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposer. Release resources and cleanup.

Private Methods

Méthode Description
createAndAdd ( XmlNode node ) : void

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

Method Details

Dispose() public méthode

Disposes resources
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Disposer. Release resources and cleanup.
protected Dispose ( bool disposing ) : void
disposing bool true to dispose managed resources
Résultat void

Init() public méthode

Initializes the spell checker. Reads the spell check file and loads the spellings into the list
public Init ( ) : bool
Résultat bool

LoadDefaultSettings() public méthode

Loads factory default settings.
public LoadDefaultSettings ( ) : bool
Résultat bool

LoadSettings() public méthode

Loads settings from the specified directory
public LoadSettings ( String configFileDirectory ) : bool
configFileDirectory String directory name
Résultat bool

Lookup() public méthode

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
Résultat String

SaveSettings() public méthode

Saves settings into the specified directory
public SaveSettings ( String configFileDirectory ) : bool
configFileDirectory String name of the directory
Résultat bool