private async void SearchAsync() { _priority = new Priority(); _visited = new HashSet <string>(); _isSearching = true; RaisePropertyChanged(nameof(SearchCommand)); FoundItems.Clear(); var job = _search.CreateSearchJob(_searchWords, _depth); _queue.Enqueue(job, _priority.GetBestPrio()); await Task.Factory.StartNew(Consume); }
public void ClearItems() { FoundItems.Clear(); }
private void ClearFoundItemsAndHeader() { SelectedFoundItem = null; FoundItems.Clear(); Header = $"Search - {Version}"; }
/// <summary> /// Limpia la búsqueda /// </summary> public void Clear() { FoundItems.Clear(); OpenedViews.Clear(); }