public void Success(SearchItem item, SearchAction action = null) { Done(); success = true; providerId = item.provider.name.id; if (action != null) { actionId = action.content.text; } }
private void ExecuteAction(SearchAction action, SearchItem item, SearchContext context) { SearchService.LastSearch = context.searchBoxText; action.handler(item, context); CloseSearchWindow(); }
public void ExecuteAction(SearchAction action, SearchItem[] items, SearchContext context, bool endSearch = true) { selectCallback?.Invoke(items.FirstOrDefault(), false); }