BaconographyPortable.Model.Reddit.ListingHelpers.SearchResults.Refresh C# (CSharp) Method

Refresh() public method

public Refresh ( object>.Dictionary state ) : Task
state object>.Dictionary
return Task
        public async Task<Listing> Refresh(Dictionary<object, object> state)
        {
            if (string.IsNullOrWhiteSpace(_query))
                return new Listing { Data = new ListingData { Children = new List<Thing>() }, Kind = "Listing" };
            else
                return await _redditService.Search(_query, 20, _reddits, _restrictedToSubreddit);
        }
    }