public MetadataBuilder(FrontContext frontContext) { _frontContext = frontContext; var viewData = _frontContext.ViewData; if (viewData.MetaFields == null) { viewData.MetaFields = GetMetaFields(); } _metaFields = viewData.MetaFields; }
public ScriptBuilder(FrontContext frontContext, HtmlHelper htmlHelper) { _htmlHelper = htmlHelper; _frontContext = frontContext; var viewData = _frontContext.ViewData; if (viewData.ScriptContext == null) { viewData.ScriptContext = new ScriptContext(); } _scriptContext = viewData.ScriptContext; }
public ZoneBuilder(FrontContext frontContext, HtmlHelper htmlHelper) { _frontContext = frontContext; _htmlHelper = htmlHelper; _widgetBuilder = new WidgetBuilder(_htmlHelper); var viewData = _frontContext.ViewData; if (viewData.ZoneMap == null) { viewData.ZoneMap = GetZoneMap(); } _zoneMap = viewData.ZoneMap; }
public ThemeBuilder(FrontContext frontContext, HtmlHelper htmlHelper) { _frontContext = frontContext; _htmlHelper = htmlHelper; }
public HtmlTitleBuilder(FrontContext frontContext) { _frontContext = frontContext; }
public FaviconBuilder(FrontContext frontContext, HtmlHelper htmlHelper) { _frontContext = frontContext; _htmlHelper = htmlHelper; }