public LightcoreHtmlHelper(IHtmlHelper htmlHelper) { _htmlHelper = htmlHelper; _renderFieldPipeline = htmlHelper.ViewContext.HttpContext.RequestServices.GetRequiredService <RenderFieldPipeline>(); _renderPlaceholderPipeline = htmlHelper.ViewContext.HttpContext.RequestServices.GetRequiredService <RenderPlaceholderPipeline>(); }
public LightcoreHtmlHelper(IHtmlHelper htmlHelper) { _htmlHelper = htmlHelper; _renderFieldPipeline = htmlHelper.ViewContext.HttpContext.RequestServices.GetRequiredService<RenderFieldPipeline>(); _renderPlaceholderPipeline = htmlHelper.ViewContext.HttpContext.RequestServices.GetRequiredService<RenderPlaceholderPipeline>(); }