Exemple #1
0
        public async Task <CommentCollection> GetPostComments(string subreddit, string postId36)
        {
            var commentCollection = new CommentCollection(this.api, subreddit, postId36);
            await commentCollection.LoadAsync();

            return(commentCollection);
        }
Exemple #2
0
 public async Task<CommentCollection> GetPostComments(string subreddit, string postId36)
 {
     var commentCollection = new CommentCollection(this.api, subreddit, postId36);
     await commentCollection.LoadAsync();
     return commentCollection;
 }
 protected override async void OnInitialActivate()
 {
     this.CommentCollection = await this.client.GetPostComments(this.Subreddit, this.PostId36);
 }