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