Condividi tramite


PhysicalFileResultExecutor Classe

Definizione

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

Costruttori

PhysicalFileResultExecutor(ILoggerFactory)

Inizializza una nuova istanza di PhysicalFileResultExecutor.

Campi

BufferSize

Dimensioni del buffer: 64 * 1024.

(Ereditato da FileResultExecutorBase)

Proprietà

Logger

Logger da usare.

(Ereditato da FileResultExecutorBase)

Metodi

ExecuteAsync(ActionContext, PhysicalFileResult)

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

GetFileInfo(String)

Ottenere i metadati del file per un percorso.

GetFileStream(String)
Obsoleti.

Obsoleta. 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, PhysicalFileResult, RangeItemHeaderValue, Int64)

Oggetto IActionResultExecutor<TResult> per un oggetto PhysicalFileResult.

Si applica a