C# Class WinRTXamlToolkit.Controls.AutoCompleteTextBox.CommonSubstringSuggestion

Algorithm implementation for AutoCompleteTextBox that scores suggestions from the dictionary based on the longest common substring.
Inheritance: AutoCompletable
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Méthode Description
GetSuggestedWords ( string wordToSuggest, ICollection suggestionDictionary ) : IList

Gets a list of suggested word completions for the specified word, given a dictionary of words.

Private Methods

Méthode Description
GetScoreByLongestCommonSubstring ( string wordToSuggest, string suggestion ) : ScoredString

Method Details

GetSuggestedWords() public méthode

Gets a list of suggested word completions for the specified word, given a dictionary of words.
public GetSuggestedWords ( string wordToSuggest, ICollection suggestionDictionary ) : IList
wordToSuggest string Word/string to get suggestions for.
suggestionDictionary ICollection Dictionary of words to select suggestions from.
Résultat IList