1 override of WriteLiteral
RazorWebSite (1)
MyBasePage.cs (1)
16public override void WriteLiteral(string value)
38 references to WriteLiteral
Microsoft.AspNetCore.Mvc.Razor (4)
RazorPageBase.cs (4)
460WriteLiteral(value.ToString()); 646WriteLiteral(prefix); 729WriteLiteral(stringValue); 749WriteLiteral(value);
Microsoft.AspNetCore.Mvc.Razor.Test (26)
RazorPageTest.cs (5)
795v.WriteLiteral("Layout start" + Environment.NewLine); 801v.WriteLiteral("Layout end"); 1328page.WriteLiteral("Not"); 1330page.WriteLiteral("This should be buffered"); 1332page.WriteLiteral(" buffered");
RazorViewTest.cs (21)
312v.WriteLiteral("Hello world"); 337v.WriteLiteral("Hello world"); 661v.WriteLiteral("body-content"); 833v.WriteLiteral("Page body content that will not be written"); 843v.WriteLiteral("Nested layout content that will not be written"); 897v.WriteLiteral("BodyContent"); 960v.WriteLiteral("BodyContent"); 1077v.WriteLiteral("body-content"); 1143v.WriteLiteral("body-content"); 1310v.WriteLiteral("BodyContent"); 1379v.WriteLiteral("body content" + Environment.NewLine); 1382v.WriteLiteral("section-content-1" + Environment.NewLine); 1384v.WriteLiteral("section-content-2"); 1437v.WriteLiteral("section-content-1" + Environment.NewLine); 1439v.WriteLiteral("section-content-2"); 1484v.WriteLiteral("before-flush" + Environment.NewLine); 1487v.WriteLiteral("after-flush"); 1520v.WriteLiteral("body-content"); 1715v.WriteLiteral("Page"); 1719v.WriteLiteral("ViewStart1" + Environment.NewLine); 1723v.WriteLiteral("ViewStart2" + Environment.NewLine);
RazorBuildWebSite.Views (3)
Pages\Rzc\Page.cs (1)
23WriteLiteral("\r\nHello from buildtime-compiled rzc page!\r\n");
Views\Common\CommonView.cs (1)
23WriteLiteral("Hello from buildtime-compiled rzc view!");
Views\Rzc\View.cs (1)
23WriteLiteral("Hello from buildtime-compiled rzc view!");
RazorWebSite (5)
MyBasePage.cs (5)
12base.WriteLiteral("WriteLiteral says:"); 18base.WriteLiteral("WriteLiteral says:"); 19base.WriteLiteral(value); 24base.WriteLiteral("Write says:"); 30base.WriteLiteral("Write says:");