public GetCommentsRequest(CommentableType type, long id, CommentsSortCriteria sort = CommentsSortCriteria.New, int page = 1) { this.type = type; this.sort = sort; this.id = id; this.page = page; }
public TabButton(CommentsSortCriteria value) { Add(text = new SpriteText { Font = OsuFont.GetFont(size: 14), Text = value.ToString() }); }
public GetCommentsRequest(long commentableId, CommentableType type, CommentsSortCriteria sort = CommentsSortCriteria.New, int page = 1, long?parentId = null) { this.commentableId = commentableId; this.type = type; this.sort = sort; this.page = page; this.parentId = parentId; }