コード例 #1
0
        public void StopChecking()
        {
            if (_speller != null)
            {
                _speller.Dispose();
            }

            _speller = null;
        }
コード例 #2
0
        public void StartChecking()
        {
            if (!PlatformSpellCheck.SpellChecker.IsPlatformSupported() ||
                string.IsNullOrEmpty(_bcp47Code))
            {
                StopChecking();
                return;
            }

            _speller = new PlatformSpellCheck.SpellChecker(_bcp47Code);
        }
コード例 #3
0
        public void StopChecking()
        {
            if (_speller != null)
                _speller.Dispose();

            _speller = null;
        }
コード例 #4
0
        public void StartChecking()
        {
            if (!PlatformSpellCheck.SpellChecker.IsPlatformSupported() ||
                string.IsNullOrEmpty(_bcp47Code))
            {
                StopChecking();
                return;
            }

            _speller = new PlatformSpellCheck.SpellChecker(_bcp47Code);
        }