public void StopChecking() { if (_speller != null) { _speller.Dispose(); } _speller = null; }
public void StartChecking() { if (!PlatformSpellCheck.SpellChecker.IsPlatformSupported() || string.IsNullOrEmpty(_bcp47Code)) { StopChecking(); return; } _speller = new PlatformSpellCheck.SpellChecker(_bcp47Code); }
public void StopChecking() { if (_speller != null) _speller.Dispose(); _speller = null; }