protected override void BootstrapProcess(TagHelperContext context, TagHelperOutput output) { if (context.HasMediaListContext()) { output.TagName = "li"; context.RemoveMediaListContext(); } else output.TagName = "div"; output.AddCssClass("media"); }
protected override void BootstrapProcess(TagHelperContext context, TagHelperOutput output) { if (context.HasMediaListContext()) { output.TagName = "li"; context.RemoveMediaListContext(); } else output.TagName = "div"; output.AddCssClass("media"); }