12 writes to Writer
Microsoft.AspNetCore.Mvc.Razor (8)
RazorPageBase.cs (6)
232viewContext.Writer = new ViewBufferTextWriter(buffer, viewContext.Writer.Encoding); 254ViewContext.Writer = scopeInfo.Writer; 286viewContext.Writer = _valueBuffer; 310ViewContext.Writer = _pageWriter; 327viewContext.Writer = writer; 339viewContext.Writer = writer;
RazorView.cs (2)
117context.Writer = writer; 133context.Writer = oldWriter;
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Rendering\ViewContext.cs (2)
66Writer = writer; 108Writer = writer;
ViewExecutor.cs (2)
213viewContext.Writer = writer; 223viewContext.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)
68return viewContext.Writer; 215/// All writes to the <see cref="Output"/> or <see cref="ViewContext.Writer"/> after calling this method will 222TagHelperScopes.Push(new TagHelperScopeInfo(buffer, HtmlEncoder, viewContext.Writer)); 232viewContext.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)
94var writer = context.Writer as ViewBufferTextWriter; 102writer = new ViewBufferTextWriter(buffer, context.Writer.Encoding, _htmlEncoder, context.Writer); 109writer = new ViewBufferTextWriter(buffer, context.Writer.Encoding); 114var oldWriter = context.Writer; 252if (context.Writer is ViewBufferTextWriter viewBufferTextWriter) 261await using (var writer = _bufferScope!.CreateWriter(context.Writer))
Microsoft.AspNetCore.Mvc.ViewFeatures (43)
HtmlHelper.cs (5)
465return RenderPartialCoreAsync(partialViewName, model, viewData, ViewContext.Writer); 894/// In this context, "renders" means the method writes its output using <see cref="ViewContext.Writer"/>. 914tagBuilder.WriteTo(ViewContext.Writer, _htmlEncoder); 952/// In this context, "renders" means the method writes its output using <see cref="ViewContext.Writer"/>. 970tagBuilder.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>"); 71if (_viewContext.Writer is ViewBufferTextWriter viewBufferWriter) 82content.WriteTo(_viewContext.Writer, _htmlEncoder);
TemplateRenderer.cs (2)
116using (var writer = new ViewBufferTextWriter(viewBuffer, _viewContext.Writer.Encoding)) 244var newViewContext = new ViewContext(viewContext, viewContext.View, viewData, viewContext.Writer);
ViewComponents\DefaultViewComponentHelper.cs (1)
134using (var writer = new ViewBufferTextWriter(viewBuffer, _viewContext.Writer.Encoding))
ViewComponents\ViewComponentContext.cs (1)
119public TextWriter Writer => ViewContext.Writer;
ViewExecutor.cs (1)
210var oldWriter = viewContext.Writer;