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