/// <summary> /// Synchronously executes the <see cref="T:Microsoft.AspNetCore.Razor.TagHelpers.TagHelper" /> with the given <paramref name="context" /> and /// <paramref name="output" />. /// </summary> /// <param name="context">Contains information associated with the current HTML tag.</param> /// <param name="output">A stateful HTML element used to generate an HTML tag.</param> public override void Process(TagHelperContext context, TagHelperOutput output) { this.Output = output; if (!this.DisableBootstrap) { CopyToOutputAttribute.CopyPropertiesToOutput(this, output); MandatoryAttribute.CheckProperties(this); this.BasicRenderProcess(output); this.RenderProcess(context, output); this.RemoveMinimizableAttributes(output); } }
public override void Process(TagHelperContext context, TagHelperOutput output) { Output = output; if (!DisableBootstrap || CopyAttributesIfBootstrapIsDisabled) { CopyToOutputAttribute.CopyPropertiesToOutput(this, output); } if (!DisableBootstrap) { BootstrapProcess(context, output); RemoveMinimizableAttributes(output); } }