public string GetDestroySavedSearchQuery(ISavedSearch savedSearch)
        {
            if (savedSearch == null)
            {
                return(null);
            }

            return(GetDestroySavedSearchQuery(savedSearch.Id));
        }
Exemplo n.º 2
0
        public string GetDestroySavedSearchQuery(ISavedSearch savedSearch)
        {
            if (savedSearch == null)
            {
                throw new ArgumentNullException("SavedSearch cannot be null.");
            }

            return GetDestroySavedSearchQuery(savedSearch.Id);
        }
Exemplo n.º 3
0
        public string GetDestroySavedSearchQuery(ISavedSearch savedSearch)
        {
            if (savedSearch == null)
            {
                throw new ArgumentNullException("SavedSearch cannot be null.");
            }

            return(GetDestroySavedSearchQuery(savedSearch.Id));
        }
        public string GetDestroySavedSearchQuery(ISavedSearch savedSearch)
        {
            if (savedSearch == null)
            {
                return null;
            }

            return GetDestroySavedSearchQuery(savedSearch.Id);
        }
 public static async Task<bool> DestroySavedSearch(ISavedSearch savedSearch)
 {
     return await Sync.ExecuteTaskAsync(() => SavedSearch.DestroySavedSearch(savedSearch));
 }
        public bool DestroySavedSearch(ISavedSearch savedSearch)
        {
            string query = _savedSearchQueryGenerator.GetDestroySavedSearchQuery(savedSearch);

            return(_twitterAccessor.TryExecutePOSTQuery(query));
        }
Exemplo n.º 7
0
 public bool DestroySavedSearch(ISavedSearch savedSearch)
 {
     return(_savedSearchQueryExecutor.DestroySavedSearch(savedSearch));
 }
Exemplo n.º 8
0
 public static bool DestroySavedSearch(ISavedSearch savedSearch)
 {
     return SavedSearchController.DestroySavedSearch(savedSearch);
 }
Exemplo n.º 9
0
 public static async Task <bool> DestroySavedSearch(ISavedSearch savedSearch)
 {
     return(await Sync.ExecuteTaskAsync(() => SavedSearch.DestroySavedSearch(savedSearch)));
 }
Exemplo n.º 10
0
 public Task <ISavedSearch> DestroySavedSearch(ISavedSearch savedSearch)
 {
     return(DestroySavedSearch(new DestroySavedSearchParameters(savedSearch)));
 }
 public bool DestroySavedSearch(ISavedSearch savedSearch)
 {
     return _savedSearchQueryExecutor.DestroySavedSearch(savedSearch);
 }
 public bool DestroySavedSearch(ISavedSearch savedSearch)
 {
     string query = _savedSearchQueryGenerator.GetDestroySavedSearchQuery(savedSearch);
     return _twitterAccessor.TryExecutePOSTQuery(query);
 }
Exemplo n.º 13
0
 /// <summary>
 /// Destroy a search saved in the Twitter account
 /// </summary>
 public static string DestroySavedSearch(ISavedSearch savedSearch)
 {
     return SavedSearchJsonController.DestroySavedSearch(savedSearch);
 }
Exemplo n.º 14
0
 public DestroySavedSearchParameters(ISavedSearch savedSearch)
 {
     SavedSearchId = savedSearch.Id;
 }
Exemplo n.º 15
0
 /// <summary>
 /// Delete a saved search own by the authenticated user
 /// </summary>
 public static bool DestroySavedSearch(ISavedSearch savedSearch)
 {
     return(SavedSearchController.DestroySavedSearch(savedSearch));
 }
Exemplo n.º 16
0
 /// <summary>
 /// Destroy a search saved in the Twitter account
 /// </summary>
 public static string DestroySavedSearch(ISavedSearch savedSearch)
 {
     return(SavedSearchJsonController.DestroySavedSearch(savedSearch));
 }
        public string DestroySavedSearch(ISavedSearch savedSearch)
        {
            string query = _savedSearchQueryGenerator.GetDestroySavedSearchQuery(savedSearch);

            return(_twitterAccessor.ExecutePOSTQueryReturningJson(query));
        }