12 writes to Writer
Microsoft.AspNetCore.Mvc.Razor (8)
RazorPageBase.cs (6)
232
viewContext.
Writer
= new ViewBufferTextWriter(buffer, viewContext.Writer.Encoding);
254
ViewContext.
Writer
= scopeInfo.Writer;
286
viewContext.
Writer
= _valueBuffer;
310
ViewContext.
Writer
= _pageWriter;
327
viewContext.
Writer
= writer;
339
viewContext.
Writer
= writer;
RazorView.cs (2)
117
context.
Writer
= writer;
133
context.
Writer
= oldWriter;
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Rendering\ViewContext.cs (2)
66
Writer
= writer;
108
Writer
= writer;
ViewExecutor.cs (2)
213
viewContext.
Writer
= writer;
223
viewContext.
Writer
= oldWriter;
58 references to Writer
Microsoft.AspNetCore.Mvc.Razor (15)
IRazorPage.cs (1)
55
/// Renders the page and writes the output to the <see cref="ViewContext.
Writer
"/>.
RazorPageBase.cs (7)
68
return viewContext.
Writer
;
215
/// All writes to the <see cref="Output"/> or <see cref="ViewContext.
Writer
"/> after calling this method will
222
TagHelperScopes.Push(new TagHelperScopeInfo(buffer, HtmlEncoder, viewContext.
Writer
));
232
viewContext.Writer = new ViewBufferTextWriter(buffer, viewContext.
Writer
.Encoding);
263
/// All writes to the <see cref="Output"/> or <see cref="ViewContext.
Writer
"/> after calling this method will
277
_pageWriter = viewContext.
Writer
;
326
_textWriterStack.Push(viewContext.
Writer
);
RazorView.cs (7)
94
var writer = context.
Writer
as ViewBufferTextWriter;
102
writer = new ViewBufferTextWriter(buffer, context.
Writer
.Encoding, _htmlEncoder, context.
Writer
);
109
writer = new ViewBufferTextWriter(buffer, context.
Writer
.Encoding);
114
var oldWriter = context.
Writer
;
252
if (context.
Writer
is ViewBufferTextWriter viewBufferTextWriter)
261
await using (var writer = _bufferScope!.CreateWriter(context.
Writer
))
Microsoft.AspNetCore.Mvc.ViewFeatures (43)
HtmlHelper.cs (5)
465
return RenderPartialCoreAsync(partialViewName, model, viewData, ViewContext.
Writer
);
894
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
914
tagBuilder.WriteTo(ViewContext.
Writer
, _htmlEncoder);
952
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
970
tagBuilder.WriteTo(ViewContext.
Writer
, _htmlEncoder);
Rendering\HtmlHelperFormExtensions.cs (19)
20
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
50
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
76
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
106
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
145
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
180
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
206
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
242
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
273
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
311
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
348
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
384
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
419
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
443
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
472
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
503
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
531
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
566
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
600
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
Rendering\HtmlHelperPartialExtensions.cs (7)
180
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
196
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
215
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
232
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
256
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
278
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
301
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
Rendering\IHtmlHelper.cs (4)
122
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
158
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
340
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
578
/// In this context, "renders" means the method writes its output using <see cref="ViewContext.
Writer
"/>.
Rendering\MvcForm.cs (3)
59
_viewContext.
Writer
.Write("</form>");
71
if (_viewContext.
Writer
is ViewBufferTextWriter viewBufferWriter)
82
content.WriteTo(_viewContext.
Writer
, _htmlEncoder);
TemplateRenderer.cs (2)
116
using (var writer = new ViewBufferTextWriter(viewBuffer, _viewContext.
Writer
.Encoding))
244
var newViewContext = new ViewContext(viewContext, viewContext.View, viewData, viewContext.
Writer
);
ViewComponents\DefaultViewComponentHelper.cs (1)
134
using (var writer = new ViewBufferTextWriter(viewBuffer, _viewContext.
Writer
.Encoding))
ViewComponents\ViewComponentContext.cs (1)
119
public TextWriter Writer => ViewContext.
Writer
;
ViewExecutor.cs (1)
210
var oldWriter = viewContext.
Writer
;