internal List <Post> ToDbPosts(RobloxThread thread)
        {
            List <Post> posts = new List <Post>();

            foreach (RobloxPost post in Posts)
            {
                posts.Add(post.ToDbPost(thread));
            }
            return(posts);
        }
        public RobloxPage(IHtmlDocument document, RobloxThread thread)
        {
            thread_id = thread.ThreadId;

            if (PageExists(document))
            {
                IsEmpty = false;
                Posts   = new List <RobloxPost>();
                ParseCurrentPageNumber(document);
                ParseRequestInputParams(document);
                ParsePosts(document);
                return;
            }
            IsEmpty = true;
        }
 public Post ToDbPost(RobloxThread thread)
 {
     return(new Post(Timestamp, PostBody, User.ToDbUser(), thread.ToDbThread()));
 }