Beispiel #1
0
 public Thread(string id, string title, User_Name creator = null, int?views = null, int?replies = null, int?rating = null)
 {
     Id      = id;
     Title   = title;
     Creator = creator ?? Creator;
     Views   = views ?? Views;
     Replies = replies ?? Replies;
     Rating  = rating ?? Rating;
 }
Beispiel #2
0
 public BoardStateLastPost(string id, User_Name user, DateTime time)
 {
     Id   = id;
     User = user;
     Time = time;
 }
Beispiel #3
0
 public BoardStateLastPost With(string id = null, User_Name user = null, DateTime?time = null)
 {
     return(new BoardStateLastPost(id ?? Id, user ?? User, time ?? Time));
 }
Beispiel #4
0
 public Thread With(string id = null, string title = null, User_Name creator = null, int?views = null, int?replies = null, int?rating = null)
 {
     return(new Thread(id ?? Id, title ?? Title, creator ?? Creator, views ?? Views, replies ?? Replies, rating ?? Rating));
 }