Exemple #1
0
 public BoardState(bool?isFlashed, int?threadCount, int?postCount, BoardStateLastPost lastPost = null)
 {
     IsFlashed   = isFlashed;
     ThreadCount = threadCount;
     PostCount   = postCount;
     LastPost    = lastPost ?? LastPost;
 }
Exemple #2
0
 public BoardState With(bool?isFlashed = null, int?threadCount = null, int?postCount = null, BoardStateLastPost lastPost = null)
 {
     return(new BoardState(isFlashed ?? IsFlashed, threadCount ?? ThreadCount, postCount ?? PostCount, lastPost ?? LastPost));
 }