public override void Process(TagHelperContext context, TagHelperOutput output) { var header = new TagBuilder("div"); header.AddCssClass("box-header"); var titleTag = new TagBuilder("h3"); titleTag.InnerHtml.Append(title); header.InnerHtml.AppendHtml(titleTag); // BoxTag.InnerHtml.AppendHtml(header); output.Content.SetHtmlContent(header); box.Process(context, output); }
public override void Process(TagHelperContext context, TagHelperOutput output) { //BoxTag.AddCssClass("box-solid"); //output.Content.SetHtmlContent(header); box.Process(context, output); }