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