SIL.CoreImpl.SpellingHelper.SetSpellingStatus C# (CSharp) Method

SetSpellingStatus() public static method

Ensure that the spelling dictionary (if any) for the specified ws will give the specified answer regarding the specified word.
public static SetSpellingStatus ( string word, int ws, ILgWritingSystemFactory wsf, bool fCorrect ) : void
word string
ws int
wsf ILgWritingSystemFactory
fCorrect bool
return void
		public static void SetSpellingStatus(string word, int ws,
			ILgWritingSystemFactory wsf, bool fCorrect)
		{
			var dict = GetSpellChecker(ws, wsf);
			if (dict == null)
				return; // paranoia
			dict.SetStatus(word, fCorrect);
		}