private void StartSearch() { if (_isSearching) { return; } _isSearching = true; TwitterSearch.StartAsyncSearch(_searchText, Success, Error); }
private static void DoAsyncSearch(string searchText, Action<IEnumerable<Tweet>> success, Action<Exception> error) { var search = new TwitterSearch(searchText, success, error); search.StartSearch(); }
private static void DoAsyncSearch(string searchText, Action <IEnumerable <Tweet> > success, Action <Exception> error) { var search = new TwitterSearch(searchText, success, error); search.StartSearch(); }