VirtualFileResultExecutor 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 VirtualFileResultExecutor : Microsoft::AspNetCore::Mvc::Infrastructure::FileResultExecutorBase, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::VirtualFileResult ^>
public class VirtualFileResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.VirtualFileResult>
type VirtualFileResultExecutor = class
inherit FileResultExecutorBase
interface IActionResultExecutor<VirtualFileResult>
Public Class VirtualFileResultExecutor
Inherits FileResultExecutorBase
Implements IActionResultExecutor(Of VirtualFileResult)
- Inheritance
- Implements
Constructors
VirtualFileResultExecutor(ILoggerFactory, IHostingEnvironment) | |
VirtualFileResultExecutor(ILoggerFactory, IWebHostEnvironment) |
Initializes a new instance of VirtualFileResultExecutor. |
Fields
BufferSize |
The buffer size: 64 * 1024. (Inherited from FileResultExecutorBase) |
Properties
Logger |
The logger to use. (Inherited from FileResultExecutorBase) |
Methods
ExecuteAsync(ActionContext, VirtualFileResult) |
Asynchronously executes the action result, by modifying the HttpResponse. |
GetFileStream(IFileInfo) |
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, VirtualFileResult, IFileInfo, RangeItemHeaderValue, Int64) | System.Object.WriteFileAsync(Microsoft.AspNetCore.Mvc.ActionContext,Microsoft.AspNetCore.Mvc.VirtualFileResult,Microsoft.Extensions.FileProviders.IFileInfo,Microsoft.Net.Http.Headers.RangeItemHeaderValue,System.Int64) |