Share via


FileContentResultExecutor Class

Definition

public ref class FileContentResultExecutor : Microsoft::AspNetCore::Mvc::Infrastructure::FileResultExecutorBase, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::FileContentResult ^>
public class FileContentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.FileContentResult>
type FileContentResultExecutor = class
    inherit FileResultExecutorBase
    interface IActionResultExecutor<FileContentResult>
Public Class FileContentResultExecutor
Inherits FileResultExecutorBase
Implements IActionResultExecutor(Of FileContentResult)
Inheritance
FileContentResultExecutor
Implements

Constructors

FileContentResultExecutor(ILoggerFactory)

Intializes a new FileContentResultExecutor.

Fields

BufferSize

The buffer size: 64 * 1024.

(Inherited from FileResultExecutorBase)

Properties

Logger

The logger to use.

(Inherited from FileResultExecutorBase)

Methods

ExecuteAsync(ActionContext, FileContentResult)

Asynchronously executes the action result, by modifying the HttpResponse.

SetHeadersAndLog(ActionContext, FileResult, Nullable<Int64>, Boolean, Nullable<DateTimeOffset>, EntityTagHeaderValue)

Sets etag and last modified headers.

(Inherited from FileResultExecutorBase)
WriteFileAsync(ActionContext, FileContentResult, RangeItemHeaderValue, Int64)

Writes the file content.

Applies to