C# 클래스 ACAT.Extensions.Default.SpellCheckers.SpellChecker

상속: ISpellChecker
파일 보기 프로젝트 열기: brlima94/acat-localization

공개 메소드들

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