[]
Base class for built-in and user dictionaries (see (SpellDictionary and UserDictionary).
public abstract class SpellDictionaryBase : ISpellDictionary
| Name | Description |
|---|---|
| m_enabled | Gets or sets whether the dictionary is enabled. |
| 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. |
| Name | Description |
|---|---|
| Enabled | Gets or sets whether the dictionary is enabled. |
| State | Gets a DictionaryState value that indicates whether the dictionary was loaded successfully. |
| 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. |
| Load(Stream) | Loads the dictionary from a stream. |
| Load(string) | Loads the dictionary from a file. |
| LoadAsync(string) | Loads the dictionary from a Uri pointing to the compressed dictionary data. |
| LoadAsync(Uri) | Loads the dictionary from a Uri pointing to the compressed dictionary data. |
| OnLoadCompleted(OpenReadCompletedEventArgs) | Raises the LoadCompleted event. |
| OnLoadProgressChanged(DownloadProgressChangedEventArgs) | Raises the LoadProgressChanged event. |
| Name | Description |
|---|---|
| LoadCompleted | Fires when the dictionary finishes loading after a call to the LoadAsync(Uri) method. |
| LoadProgressChanged | Fires while the dictionary loads after a call to the LoadAsync(Uri) method. |