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; }
public BoardStateLastPost(string id, User_Name user, DateTime time) { Id = id; User = user; Time = time; }
public BoardStateLastPost With(string id = null, User_Name user = null, DateTime?time = null) { return(new BoardStateLastPost(id ?? Id, user ?? User, time ?? Time)); }
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)); }