Beispiel #1
0
 public TabButton(CommentsSortCriteria value)
 {
     Add(text = new SpriteText
     {
         Font = OsuFont.GetFont(size: 14),
         Text = value.ToString()
     });
 }
        protected override WebRequest CreateWebRequest()
        {
            var req = base.CreateWebRequest();

            req.AddParameter("commentable_type", type.ToString().Underscore().ToLowerInvariant());
            req.AddParameter("commentable_id", id.ToString());
            req.AddParameter("sort", sort.ToString().ToLowerInvariant());
            req.AddParameter("page", page.ToString());

            return(req);
        }