Share via


IViewBufferScope Interface

Definition

Creates and manages the lifetime of ViewBufferValue[] instances.

public interface class IViewBufferScope
public interface IViewBufferScope
type IViewBufferScope = interface
Public Interface IViewBufferScope

Methods

CreateWriter(TextWriter)

Creates a Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.PagedBufferedTextWriter that will delegate to the provided writer.

GetPage(Int32)

Gets a ViewBufferValue[].

ReturnSegment(ViewBufferValue[])

Returns a ViewBufferValue[] that can be reused.

Applies to