Class RadDictionary
Inheritance
System.Object
RadDictionary
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.Windows.Documents.Proofing
Assembly: Telerik.Windows.Documents.dll
Syntax
public class RadDictionary : IWordDictionary
Constructors
RadDictionary()
Declaration
public RadDictionary()
RadDictionary(Int32)
Declaration
public RadDictionary(int expectedSize)
Parameters
System.Int32
expectedSize
|
Fields
metaphoneByWord
Declaration
protected Dictionary<string, Tuple<string, string>> metaphoneByWord
Field Value
System.Collections.Generic.Dictionary<System.String, System.Tuple<System.String, System.String>>
|
words
Declaration
[CLSCompliant(false)]
[Obsolete("This field is obsolete as it is not CLS compliant. Please use the WordsList property")]
protected List<string> words
Field Value
System.Collections.Generic.List<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
WordsList
Declaration
protected List<string> WordsList { get; set; }
Property Value
System.Collections.Generic.List<System.String>
|
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
|