public FullBoardViewModel(ScoreboardModel scoreboard, bool isPublic, bool showHidden = true) : base(scoreboard) { UpdateTime = scoreboard.RefreshTime; Categories = scoreboard.Categories; Affiliations = scoreboard.Affiliations; IsPublic = isPublic; RankCaches = isPublic ? scoreboard.Public : scoreboard.Restricted; ShowHiddenCategories = showHidden; }
protected BoardViewModel(ScoreboardModel scb) : this(scb.ContestId, scb.RankingStrategy, scb.Problems, scb.ContestTime) { }