Пример #1
0
        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);
        }
Пример #2
0
 public void ClearItems()
 {
     FoundItems.Clear();
 }
Пример #3
0
 private void ClearFoundItemsAndHeader()
 {
     SelectedFoundItem = null;
     FoundItems.Clear();
     Header = $"Search - {Version}";
 }
Пример #4
0
 /// <summary>
 ///		Limpia la búsqueda
 /// </summary>
 public void Clear()
 {
     FoundItems.Clear();
     OpenedViews.Clear();
 }