<commit_before>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BootstrapControls
{
    [DefaultProperty("Text")]
    [ToolboxData("<{0}:LinkButton runat=server></{0}:LinkButton>")]
    public class LinkButton : System.Web.UI.WebControls.LinkButton
    {
        public ButtonColorType Color
        {
            set
            {
                base.CssClass += " btn-" + value.ToString().ToLower();
            }
        }

        public ButtonSizeType Size
        {
            set
            {
                if (value.ToString() == "XtraLarge")
                {
                    base.CssClass += " btn-xl";
                }

                if (value.ToString() == "Large")
                {
                    base.CssClass += " btn-lg";
                }

                if (value.ToString() == "Small")
                {
                    base.CssClass += " btn-sm";
                }

                if (value.ToString() == "Mini")
                {
                    base.CssClass += " btn-xs";
                }
            }
        }

        public bool Block
        {
            set
            {
                if (value)
                {
                    base.CssClass += " btn-block";
                }
            }
        }

        public bool Outline
        {
            set
            {
                if (value)
                {
                    base.CssClass += " btn-outline";
                }
            }
        }

        protected override void OnInit(EventArgs e)
        {
            base.CssClass += " btn";
        }
<commit_msg>minor fix<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BootstrapControls
{
    [DefaultProperty("Text")]
    [ToolboxData("<{0}:LinkButton runat=server></{0}:LinkButton>")]
    public class LinkButton : System.Web.UI.WebControls.LinkButton
    {
        public ButtonColorType Color
        {
            set
            {
                base.CssClass += " btn-" + value.ToString().ToLower();
            }
        }

        public ButtonSizeType Size
        {
            set
            {
                if (value.ToString() == "XtraLarge")
                {
                    base.CssClass += " btn-xl";
                }

                if (value.ToString() == "Large")
                {
                    base.CssClass += " btn-lg";
                }

                if (value.ToString() == "Small")
                {
                    base.CssClass += " btn-sm";
                }

                if (value.ToString() == "Mini")
                {
                    base.CssClass += " btn-xs";
                }
            }
        }

        public bool Block
        {
            set
            {
                if (value)
                {
                    base.CssClass += " btn-block";
                }
            }
        }

        public bool Outline
        {
            set
            {
                if (value)
                {
                    base.CssClass += " btn-outline";
                }
            }
        }

        public override string CssClass
        {
            get
            {
                return base.CssClass;
            }

            set
            {
                base.CssClass += " " + value;
            }
        }

        protected override void OnInit(EventArgs e)
        {
            base.CssClass += " btn";
        }

{'fraction_non_alphanumeric': 0.1047695605573419, 'fraction_numerical': 0.0010718113612004287, 'mean_word_length': 0.9222451081359423, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3893744', 'n_tokens_mistral': 997, 'n_tokens_neox': 927, 'n_words': 169}