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