File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ Now you have created a new solution and are ready to proceed with the next steps
181181 {
182182 public void Process (IRenderContext renderContext , VisualTree visualTree )
183183 {
184- visualTree .Favicons .Add (new Favicon (renderContext ? .PageContext ? .ApplicationContext ? .ContextPath .Append (" /assets/img/favicon.png" )));
184+ visualTree .Favicons .Add (new Favicon (renderContext ? .PageContext ? .ApplicationContext ? .ContextPath .Concat (" /assets/img/favicon.png" ). ToString ( )));
185185 visualTree .Content = new HtmlText (I18N .Translate (" HelloWorld:homepage.text" ));
186186 }
187187 }
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public HomePage(IPageContext pageContext)
3131 /// <param name="visualTree">The visual tree to be rendered.</param>
3232 public void Process ( IRenderContext renderContext , VisualTree visualTree )
3333 {
34- visualTree . Favicons . Add ( new Favicon ( renderContext ? . PageContext ? . ApplicationContext ? . ContextPath . Append ( "/assets/img/favicon.png" ) ) ) ;
34+ visualTree . Favicons . Add ( new Favicon ( renderContext ? . PageContext ? . ApplicationContext ? . ContextPath . Concat ( "/assets/img/favicon.png" ) . ToString ( ) ) ) ;
3535 visualTree . Content = new HtmlText ( I18N . Translate ( "HelloWorld:homepage.text" ) ) ;
3636 }
3737 }
You can’t perform that action at this time.
0 commit comments