1 implementation of IViewBufferScope
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Buffers\MemoryPoolViewBufferScope.cs (1)
11internal sealed class MemoryPoolViewBufferScope : IViewBufferScope, IDisposable
32 references to IViewBufferScope
Microsoft.AspNetCore.Mvc.Razor (5)
RazorPageBase.cs (3)
31private IViewBufferScope? _bufferScope; 158private IViewBufferScope BufferScope 165_bufferScope = services.GetRequiredService<IViewBufferScope>();
RazorView.cs (2)
25private IViewBufferScope? _bufferScope; 84_bufferScope = context.HttpContext.RequestServices.GetRequiredService<IViewBufferScope>();
Microsoft.AspNetCore.Mvc.TagHelpers (3)
PartialTagHelper.cs (3)
30private readonly IViewBufferScope _viewBufferScope; 36/// <param name="viewBufferScope">The <see cref="IViewBufferScope"/>.</param> 39IViewBufferScope viewBufferScope)
Microsoft.AspNetCore.Mvc.ViewFeatures (24)
Buffers\MemoryPoolViewBufferScope.cs (1)
9/// A <see cref="IViewBufferScope"/> that uses pooled memory.
Buffers\ViewBuffer.cs (4)
12/// An <see cref="IHtmlContentBuilder"/> that is backed by a buffer provided by <see cref="IViewBufferScope"/>. 22private readonly IViewBufferScope _bufferScope; 31/// <param name="bufferScope">The <see cref="IViewBufferScope"/>.</param> 34public ViewBuffer(IViewBufferScope bufferScope, string name, int pageSize)
DefaultDisplayTemplates.cs (4)
109var viewBufferScope = serviceProvider.GetRequiredService<IViewBufferScope>(); 210var viewBufferScope = serviceProvider.GetRequiredService<IViewBufferScope>();
DefaultEditorTemplates.cs (4)
92var viewBufferScope = serviceProvider.GetRequiredService<IViewBufferScope>(); 253var viewBufferScope = serviceProvider.GetRequiredService<IViewBufferScope>();
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
209services.TryAddScoped<IViewBufferScope, MemoryPoolViewBufferScope>();
HtmlHelper.cs (2)
54private readonly IViewBufferScope _bufferScope; 65IViewBufferScope bufferScope,
HtmlHelperOfT.cs (1)
29IViewBufferScope bufferScope,
TemplateBuilder.cs (2)
17private readonly IViewBufferScope _bufferScope; 30IViewBufferScope bufferScope,
TemplateRenderer.cs (2)
72private readonly IViewBufferScope _bufferScope; 80IViewBufferScope bufferScope,
ViewComponents\DefaultViewComponentHelper.cs (3)
25private readonly IViewBufferScope _viewBufferScope; 36/// <param name="viewBufferScope">The <see cref="IViewBufferScope"/> that manages the lifetime of 43IViewBufferScope viewBufferScope)