[]
        
(Showing Draft Content)

C1.Win.C1SpellChecker.SpellDictionaryBase

SpellDictionaryBase Class

Base class for built-in and user dictionaries (see (SpellDictionary and UserDictionary).

Inheritance
SpellDictionaryBase
Implements
Namespace: C1.Win.C1SpellChecker
Assembly: C1.Win.C1SpellChecker.4.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class SpellDictionaryBase : ISpellDictionary

Fields

Name Description
m_enabled

Gets or sets whether the dictionary is enabled.

m_fileName

Name of the file where the word list was loaded from.

m_spell

C1SpellChecker that owns the dictionary.

m_state

Gets or sets a DictionaryState value that indicates whether the dictionary has been loaded or why it hasn't.

Properties

Name Description
Enabled

Gets or sets whether the dictionary is enabled.

FileName

Gets or sets the name of the file that contains the dictionary.

State

Gets a DictionaryState value that indicates whether the dictionary was loaded successfully.

Methods

Name Description
Contains(string)

Checks whether the dictionary contains a given word.

EnsureLoaded()

Ensures the dictionary is loaded, reading words from the file if necessary.

GetFileName(bool)

Gets the fully qualified name of the file that contains the dictionary.

Load()

Loads the dictionary from the file specified by the FileName property.

ToString()

Gets a string that represents this object.