Partilhar via


DefaultFilesMiddleware Construtores

Definição

Sobrecargas

DefaultFilesMiddleware(RequestDelegate, IHostingEnvironment, IOptions<DefaultFilesOptions>)

Cria uma nova instância do DefaultFilesMiddleware.

DefaultFilesMiddleware(RequestDelegate, IWebHostEnvironment, IOptions<DefaultFilesOptions>)

Cria uma nova instância do DefaultFilesMiddleware.

DefaultFilesMiddleware(RequestDelegate, IHostingEnvironment, IOptions<DefaultFilesOptions>)

Origem:
DefaultFilesMiddleware.cs
Origem:
DefaultFilesMiddleware.cs

Cria uma nova instância do DefaultFilesMiddleware.

public:
 DefaultFilesMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnv, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::DefaultFilesOptions ^> ^ options);
public DefaultFilesMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnv, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DefaultFilesOptions> options);
new Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Hosting.IHostingEnvironment * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DefaultFilesOptions> -> Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware
Public Sub New (next As RequestDelegate, hostingEnv As IHostingEnvironment, options As IOptions(Of DefaultFilesOptions))

Parâmetros

next
RequestDelegate

O próximo middleware do pipeline.

hostingEnv
IHostingEnvironment

O IHostingEnvironment usado por este middleware.

options
IOptions<DefaultFilesOptions>

As opções de configuração desse middleware.

Aplica-se a

DefaultFilesMiddleware(RequestDelegate, IWebHostEnvironment, IOptions<DefaultFilesOptions>)

Origem:
DefaultFilesMiddleware.cs

Cria uma nova instância do DefaultFilesMiddleware.

public:
 DefaultFilesMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ hostingEnv, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::DefaultFilesOptions ^> ^ options);
public DefaultFilesMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnv, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DefaultFilesOptions> options);
new Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Hosting.IWebHostEnvironment * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DefaultFilesOptions> -> Microsoft.AspNetCore.StaticFiles.DefaultFilesMiddleware
Public Sub New (next As RequestDelegate, hostingEnv As IWebHostEnvironment, options As IOptions(Of DefaultFilesOptions))

Parâmetros

next
RequestDelegate

O próximo middleware do pipeline.

hostingEnv
IWebHostEnvironment

O IWebHostEnvironment usado por este middleware.

options
IOptions<DefaultFilesOptions>

As opções de configuração desse middleware.

Aplica-se a