//Sprawdzanie pisowni private void ExecuteSpellCommand() { var text = TextExporting.ConvertToText(_textToRecognize); var spellList = Spell(text); if (spellList.Count <= 0) { return; } _dataExchangeViewModel.Add(EnumExchangeViewmodel.SpellDictionary, spellList); new SpellerView().Show(); }
//analiza hasła private void ExecuteAnalizeCommand() { _recognizePasswordListObservableCollection.Clear(); _recognizePasswordListObservableCollection = _recognizePasswordText.Recognize(TextExporting.ConvertToText(_textToRecognize), _dictionary); RaisePropertyChanged(RecognizePasswordListPropertyName); _enableAfterAnalize = true; RaisePropertyChanged(EnableAfterAnalizePropertyName); }