public async Task <PostCollection> GetPostsAsync(string subreddit, SortMode sortMode) { var postCollection = new PostCollection(this.api, subreddit, sortMode.Mode); await postCollection.LoadAsync(); return(postCollection); }
public async Task<PostCollection> GetPostsAsync(string subreddit, SortMode sortMode) { var postCollection = new PostCollection(this.api, subreddit, sortMode.Mode); await postCollection.LoadAsync(); return postCollection; }
public TaskbarViewModel(IEventAggregator events) { this.events = events; this.SortModes = SortMode.AllModes; this.SelectedSortMode = SortMode.Hot; }