public ThreadViewData(Thread thread) { Subject = thread.subject; Tid = thread.tid; Fid = thread.fid; Forumname = thread.forumname; Lastposter = thread.lastposter; LastPostDate = ApiDataParser.UnixTimeStampToDateTime(thread.lastpostdateline); }
public PostViewData(Post post) { Pid = post.pid; Tid = post.tid; Fid = post.fid; Username = post.username; PostDate = ApiDataParser.UnixTimeStampToDateTime(post.dateline); Message = post.message; }