FileContentResultExecutor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |