Class WordDictionary
Inheritance
System.Object
    WordDictionary
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Telerik.WinControls.SpellChecker.Proofing
Assembly: Telerik.WinControls.SpellChecker.dll
Syntax
public class WordDictionary : IWordDictionary
  Constructors
WordDictionary()
Declaration
public WordDictionary()
  WordDictionary(Int32)
Declaration
public WordDictionary(int expectedSize)
  Parameters
| 
        System.Int32
        expectedSize
         
  | 
    
Fields
allWords
Declaration
protected List<string> allWords
  Field Value
| 
        System.Collections.Generic.List<System.String>
         
  | 
    
emptyStringArray
Declaration
protected static readonly string[] emptyStringArray
  Field Value
| 
        System.String[]
         
  | 
    
metaphoneByWord
Declaration
protected Dictionary<string, Tuple<string, string>> metaphoneByWord
  Field Value
| 
        System.Collections.Generic.Dictionary<System.String, System.Tuple<System.String, System.String>>
         
  | 
    
wordsByMetaphone
Declaration
protected Dictionary<string, List<string>> wordsByMetaphone
  Field Value
| 
        System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>
         
  | 
    
wordsByMetaphoneAlternate
Declaration
protected Dictionary<string, List<string>> wordsByMetaphoneAlternate
  Field Value
| 
        System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>
         
  | 
    
Properties
DictionaryLoaded
Declaration
protected bool DictionaryLoaded { get; }
  Property Value
| 
        System.Boolean
         
  | 
    
Words
Declaration
public IEnumerable<string> Words { get; }
  Property Value
| 
        System.Collections.Generic.IEnumerable<System.String>
         
  | 
    
Implements
Methods
AddWordToMetaphoneDictionaries(String, String, String)
Declaration
protected void AddWordToMetaphoneDictionaries(string word, string metaphone, string metaphoneAlternate)
  Parameters
| 
        System.String
        word
         
  | 
    
| 
        System.String
        metaphone
         
  | 
    
| 
        System.String
        metaphoneAlternate
         
  | 
    
ContainsWord(String)
Declaration
public bool ContainsWord(string word)
  Parameters
| 
        System.String
        word
         
  | 
    
Returns
| 
        System.Boolean
         
  | 
    
Implements
EnsureDictionaryLoaded()
Declaration
protected void EnsureDictionaryLoaded()
  EnsureDictionaryLoadedOverride()
Declaration
protected virtual void EnsureDictionaryLoadedOverride()
  GetMetaphoneKey(String)
Declaration
public string GetMetaphoneKey(string word)
  Parameters
| 
        System.String
        word
         
  | 
    
Returns
| 
        System.String
         
  | 
    
Implements
GetWordsByMetaphoneKey(String)
Declaration
public IEnumerable<string> GetWordsByMetaphoneKey(string word)
  Parameters
| 
        System.String
        word
         
  | 
    
Returns
| 
        System.Collections.Generic.IEnumerable<System.String>
         
  | 
    
Implements
Init(Int32)
Declaration
protected void Init(int expectedSize)
  Parameters
| 
        System.Int32
        expectedSize
         
  | 
    
Load(IEnumerable<String>)
Declaration
protected void Load(IEnumerable<string> entries)
  Parameters
| 
        System.Collections.Generic.IEnumerable<System.String>
        entries
         
  | 
    
Load(Stream)
Declaration
public void Load(Stream stream)
  Parameters
| 
        System.IO.Stream
        stream
         
  | 
    
OnDataChanged()
Declaration
protected virtual void OnDataChanged()
  RemoveWordFromMetaphoneDictionaries(String, String, String)
Declaration
protected void RemoveWordFromMetaphoneDictionaries(string word, string metaphone, string metaphoneAlternate)
  Parameters
| 
        System.String
        word
         
  | 
    
| 
        System.String
        metaphone
         
  | 
    
| 
        System.String
        metaphoneAlternate
         
  | 
    
Events
DataChanged
Declaration
public event EventHandler DataChanged
  Event Type
| 
        System.EventHandler
         
  |