#pragma warning disable 1591 protected internal WikiPage(IWebAgent agent, JToken json) { if (json["revision_by"].HasValues) { RevisionBy = new RedditUser(agent, json["revision_by"]); } Helpers.PopulateObject(json, this); }
protected internal WikiPage(Reddit reddit, JToken json, IWebAgent webAgent) { RevisionBy = new RedditUser().Init(reddit, json["revision_by"], webAgent); JsonConvert.PopulateObject(json.ToString(), this, reddit.JsonSerializerSettings); }
protected internal WikiPage(Reddit reddit, JToken json, IWebAgent webAgent) { RevisionBy = new RedditUser(reddit, json["revision_by"], webAgent); JsonConvert.PopulateObject(json.ToString(), this, reddit.JsonSerializerSettings); }
protected internal WikiPageRevision(Reddit reddit, JToken json, IWebAgent webAgent) : base(null) { Author = new RedditUser(reddit, json["author"], webAgent); JsonConvert.PopulateObject(json.ToString(), this, reddit.JsonSerializerSettings); }
public Listing <Post> GetPostsByUser(string username, Sort sorting, int limit, FromTime fromTime) { return(RedditUser.GetPosts(this, WebAgent, username, sorting, limit, fromTime)); }
public Listing <Post> GetPostsByUser(string username, Sort sorting) { return(RedditUser.GetPosts(this, WebAgent, username, sorting)); }