Share via


StaticFileResponseContext Costruttori

Definizione

Overload

StaticFileResponseContext()
Obsoleti.

Costruisce l'oggetto StaticFileResponseContext.

StaticFileResponseContext(HttpContext, IFileInfo)

Costruisce l'oggetto StaticFileResponseContext.

StaticFileResponseContext()

Origine:
StaticFileResponseContext.cs
Origine:
StaticFileResponseContext.cs

Attenzione

Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file)

Costruisce l'oggetto StaticFileResponseContext.

public:
 StaticFileResponseContext();
public StaticFileResponseContext ();
[System.Obsolete("Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file)", false)]
public StaticFileResponseContext ();
Public Sub New ()
Attributi

Si applica a

StaticFileResponseContext(HttpContext, IFileInfo)

Costruisce l'oggetto StaticFileResponseContext.

public:
 StaticFileResponseContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::Extensions::FileProviders::IFileInfo ^ file);
public StaticFileResponseContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.FileProviders.IFileInfo file);
new Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.Extensions.FileProviders.IFileInfo -> Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext
Public Sub New (context As HttpContext, file As IFileInfo)

Parametri

context
HttpContext

Informazioni su richiesta e risposta.

file
IFileInfo

File da gestire.

Si applica a