1 instantiation of ViewBufferPage
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Buffers\ViewBuffer.cs (1)
149
AddPage(new
ViewBufferPage
(_bufferScope.GetPage(_pageSize)));
18 references to ViewBufferPage
Microsoft.AspNetCore.Mvc.ViewFeatures (18)
Buffers\ViewBuffer.cs (18)
25
private
ViewBufferPage
_currentPage; // Limits allocation if the ViewBuffer has only one page (frequent case).
26
private List<
ViewBufferPage
> _multiplePages; // Allocated only if necessary
45
/// Get the <see cref="
ViewBufferPage
"/> count.
64
/// Gets a <see cref="
ViewBufferPage
"/>.
66
public
ViewBufferPage
this[int index]
127
var
page = GetCurrentPage();
133
private
ViewBufferPage
GetCurrentPage()
135
var
currentPage = _currentPage;
147
private
ViewBufferPage
AppendNewPage()
153
private void AddPage(
ViewBufferPage
page)
161
_multiplePages = new List<
ViewBufferPage
>(2);
185
var
page = this[i];
218
var
page = this[i];
260
var
page = this[i];
297
var
page = this[i];
321
var
page = this[i];
333
var
page = this[i];
335
var
destinationPage = destination.Count == 0 ? null : destination[destination.Count - 1];