Пример #1
0
 public FrontHtmlHelper(HtmlHelper htmlHelper, FrontContext frontContext)
 {
     _htmlHelper   = htmlHelper;
     _frontContext = frontContext;
     Script        = new ScriptBuilder(_frontContext, _htmlHelper);
     Theme         = new ThemeBuilder(_frontContext, _htmlHelper);
     Metadata      = new MetadataBuilder(_frontContext);
     Favicon       = new FaviconBuilder(_frontContext, _htmlHelper);
     HtmlTitle     = new HtmlTitleBuilder(_frontContext);
 }
Пример #2
0
 public FrontHtmlHelper(HtmlHelper htmlHelper, FrontContext frontContext)
 {
     _htmlHelper = htmlHelper;
     _frontContext = frontContext;
     Script = new ScriptBuilder(_frontContext, _htmlHelper);
     Theme = new ThemeBuilder(_frontContext, _htmlHelper);
     Metadata = new MetadataBuilder(_frontContext);
     Favicon = new FaviconBuilder(_frontContext, _htmlHelper);
     HtmlTitle = new HtmlTitleBuilder(_frontContext);
 }
Пример #3
0
 public FrontUrlHelper(FrontContext frontContext)
 {
     _frontContext = frontContext;
 }
Пример #4
0
 public FrontUrlHelper(FrontContext frontContext)
 {
     _frontContext = frontContext;
 }