Condividi tramite


VirtualFileResultExecutor Classe

Definizione

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)
Ereditarietà
VirtualFileResultExecutor
Implementazioni

Costruttori

VirtualFileResultExecutor(ILoggerFactory, IHostingEnvironment)

Oggetto IActionResultExecutor<TResult> per un oggetto VirtualFileResult.

VirtualFileResultExecutor(ILoggerFactory, IWebHostEnvironment)

Inizializza una nuova istanza di VirtualFileResultExecutor.

Campi

BufferSize

Dimensioni del buffer: 64 * 1024.

(Ereditato da FileResultExecutorBase)

Proprietà

Logger

Logger da usare.

(Ereditato da FileResultExecutorBase)

Metodi

ExecuteAsync(ActionContext, VirtualFileResult)

Esegue in modo asincrono il risultato dell'azione modificando .HttpResponse

GetFileStream(IFileInfo)
Obsoleti.

Obsoleto, questa API non viene più chiamata.

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

Imposta le intestazioni etag e last modified.

(Ereditato da FileResultExecutorBase)
WriteFileAsync(ActionContext, VirtualFileResult, IFileInfo, RangeItemHeaderValue, Int64)

Oggetto IActionResultExecutor<TResult> per un oggetto VirtualFileResult.

Si applica a