public void Reset() { _stack.Clear(); _selectedIndexables.Clear(); _stack.Push(_actionRegistry.GetSearchFrame(null)); StackPushed?.Invoke(); var searchResults = _stack.Peek().PerformSearch(string.Empty, _frecencyStorage); UpdateSearchItems(searchResults); }
public void GetSearchFrame_GoogleAction() { ISearchFrame searchFrame = _actionRegistry.GetSearchFrame(new IIndexable[] { new GoogleAction() }); searchFrame.ShouldBeType <StringSearchFrame>(); }