1 override of Write
RazorWebSite (1)
MyBasePage.cs (1)
28public override void Write(string value)
46 references to Write
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageBase.cs (2)
429Write(value.ToString()); 733Write(stringValue);
Microsoft.AspNetCore.Mvc.Razor.Test (43)
RazorPageTest.cs (24)
38v.Write("Hello Prefix"); 40v.Write("Hello from Output"); 43v.Write("From Scope: "); 66v.Write("Hello Prefix"); 68v.Write("Hello In Scope"); 70v.Write("From Scope: "); 90v.Write("Hello Prefix"); 92v.Write("Hello In Scope Pre Nest"); 95v.Write("Hello In Nested Scope"); 98v.Write("Hello In Scope Post Nest"); 101v.Write("From Scopes: "); 196v.Write("Hello World!"); 215v.Write("Hello World!"); 237v.Write("Hello World!"); 258v.Write("Hello World!"); 278v.Write("Level:0"); // Creates a 'top-level' buffer. 287v.Write("Level:1-A"); // Creates a new buffer for the TagHelper. 309v.Write("Level:0"); // Already have a buffer for this scope. 319v.Write("Level:1-B"); // Creates a new buffer for the TagHelper. 335v.Write("Level:2"); // Creates a new buffer for the TagHelper. 357v.Write("Level:1-B"); // Already have a buffer for this scope. 373v.Write("Level:0"); // Already have a buffer for this scope. 846v.Write(v.Href("url")); 1348page.Write("This should be encoded");
RazorViewTest.cs (19)
36v.Write("Hello world"); 243v.Write("page-content"); 249v.Write("layout-content" + Environment.NewLine); 675v.Write("layout-content" + Environment.NewLine); 677v.Write(Environment.NewLine); 679v.Write(Environment.NewLine); 907v.Write("NestedLayout" + Environment.NewLine); 920v.Write("BaseLayout" + Environment.NewLine); 974v.Write("NestedLayout" + Environment.NewLine); 988v.Write("BaseLayout" + Environment.NewLine); 1082v.Write("layout-1" + Environment.NewLine); 1093v.Write("layout-2" + Environment.NewLine); 1152v.Write("layout-1" + Environment.NewLine); 1165v.Write("layout-2" + Environment.NewLine); 1320v.Write("NestedLayout" + Environment.NewLine); 1332v.Write("BaseLayout" + Environment.NewLine); 1391v.Write("layout-1" + Environment.NewLine); 1446v.Write("layout-1" + Environment.NewLine); 1525v.Write("layout-1" + Environment.NewLine);
RazorWebSite (1)
MyBasePage.cs (1)
31base.Write(value);