C# Class Microsoft.VisualStudio.Language.Spellchecker.SpellDictionarySmartTagAction

Smart tag action for adding new words to the dictionary.
Inheritance: ISmartTagAction
ファイルを表示 Open project: NoahRic/Spellchecker

Public Methods

Method Description
Invoke ( ) : void

This method is executed when action is selected in the context menu.

SpellDictionarySmartTagAction ( string word, ISpellingDictionary dictionary, string displayText, bool ignore ) : System.Collections.ObjectModel

Constructor for SpellDictionarySmartTagAction.

Method Details

Invoke() public method

This method is executed when action is selected in the context menu.
public Invoke ( ) : void
return void

SpellDictionarySmartTagAction() public method

Constructor for SpellDictionarySmartTagAction.
public SpellDictionarySmartTagAction ( string word, ISpellingDictionary dictionary, string displayText, bool ignore ) : System.Collections.ObjectModel
word string The word to add or ignore.
dictionary ISpellingDictionary The dictionary (used to ignore the word).
displayText string Text to show in the context menu for this action.
ignore bool Whether this is to ignore the word or add it to the dictionary.
return System.Collections.ObjectModel