PhysicalFileResultExecutor 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 PhysicalFileResultExecutor : Microsoft::AspNetCore::Mvc::Infrastructure::FileResultExecutorBase, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::PhysicalFileResult ^>
public class PhysicalFileResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.PhysicalFileResult>
type PhysicalFileResultExecutor = class
inherit FileResultExecutorBase
interface IActionResultExecutor<PhysicalFileResult>
Public Class PhysicalFileResultExecutor
Inherits FileResultExecutorBase
Implements IActionResultExecutor(Of PhysicalFileResult)
- Inheritance
- Implements
Constructors
PhysicalFileResultExecutor(ILoggerFactory) |
Initializes a new instance of PhysicalFileResultExecutor. |
Fields
BufferSize |
The buffer size: 64 * 1024. (Inherited from FileResultExecutorBase) |
Properties
Logger |
The logger to use. (Inherited from FileResultExecutorBase) |
Methods
ExecuteAsync(ActionContext, PhysicalFileResult) |
Asynchronously executes the action result, by modifying the HttpResponse. |
GetFileInfo(String) |
Get the file metadata for a path. |
GetFileStream(String) |
Obsolete.
Obsolete. This API is no longer called. |
SetHeadersAndLog(ActionContext, FileResult, Nullable<Int64>, Boolean, Nullable<DateTimeOffset>, EntityTagHeaderValue) |
Sets etag and last modified headers. (Inherited from FileResultExecutorBase) |
WriteFileAsync(ActionContext, PhysicalFileResult, RangeItemHeaderValue, Int64) | System.Object.WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext,Microsoft.AspNetCore.Mvc.PhysicalFileResult,Microsoft.Net.Http.Headers.RangeItemHeaderValue,System.Int64) |