Example #1
0
        public AspxToBlazorControlConverter(IAdapterHost adapterHost) : base(adapterHost)
        {
            this.RegisterSupportTag("asp:listview");
            this.RegisterSupportTag("asp:content");
            this.RegisterSupportTag("asp:formview");
            this.RegisterSupportTag("asp:editform");
            this.RegisterSupportTag("asp:button");
            this.RegisterSupportTag("asp:checkbox");
            this.RegisterSupportTag("asp:hyperlink");
            this.RegisterSupportTag("asp:image");
            this.RegisterSupportTag("asp:imagebutton");
            this.RegisterSupportTag("asp:label");
            this.RegisterSupportTag("asp:linkbutton");
            this.RegisterSupportTag("asp:panel");
            this.RegisterSupportTag("asp:radiobutton");
            this.RegisterSupportTag("asp:table");
            this.RegisterSupportTag("asp:tablecell");
            this.RegisterSupportTag("asp:tablerow");
            this.RegisterSupportTag("asp:textbox");
            this.RegisterSupportTag("asp:listbox");
            this.RegisterSupportTag("asp:checkboxlist");
            this.RegisterSupportTag("asp:radiobuttonlist");
            this.RegisterSupportTag("asp:datalist");
            this.RegisterSupportTag("asp:datagrid");
            this.RegisterSupportTag("asp:dropdownlist");
            this.RegisterSupportTag("asp:placeholder");
            this.RegisterSupportTag("asp:requiredfieldvalidator");
            this.RegisterSupportTag("asp:literal");

            this.RegisterSupportTag("asp:validationsummary");
            this.RegisterSupportTag("asp:modelerrormessage");
            this.RegisterSupportTag("asp:comparevalidator");
            this.RegisterSupportTag("asp:fileupload");
            this.RegisterSupportTag("asp:regularexpressionvalidator");
            this.RegisterSupportTag("asp:gridview");
            this.RegisterSupportTag("asp:boundfield");
            this.RegisterSupportTag("asp:detailsview");
            this.RegisterSupportTag("asp:templatefield");
        }
 /// <summary>
 /// Initializes the base class
 /// </summary>
 protected BaseTagAdapter(IAdapterHost adapterHost)
 {
     _supportedTags = ImmutableList <string> .Empty;
     _adapterHost   = adapterHost;
 }