Partager via


DefaultFilesMiddleware Constructeurs

Définition

Surcharges

DefaultFilesMiddleware(RequestDelegate, IHostingEnvironment, IOptions<DefaultFilesOptions>)

Crée une instance de DefaultFilesMiddleware.

DefaultFilesMiddleware(RequestDelegate, IWebHostEnvironment, IOptions<DefaultFilesOptions>)

Crée une instance de DefaultFilesMiddleware.

DefaultFilesMiddleware(RequestDelegate, IHostingEnvironment, IOptions<DefaultFilesOptions>)

Source:
DefaultFilesMiddleware.cs
Source:
DefaultFilesMiddleware.cs

Crée une instance de 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))

Paramètres

next
RequestDelegate

Intergiciel (middleware) suivant dans le pipeline.

hostingEnv
IHostingEnvironment

IHostingEnvironment utilisé par ce middleware.

options
IOptions<DefaultFilesOptions>

Options de configuration de ce middleware.

S’applique à

DefaultFilesMiddleware(RequestDelegate, IWebHostEnvironment, IOptions<DefaultFilesOptions>)

Source:
DefaultFilesMiddleware.cs

Crée une instance de 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))

Paramètres

next
RequestDelegate

Intergiciel (middleware) suivant dans le pipeline.

hostingEnv
IWebHostEnvironment

IWebHostEnvironment utilisé par ce middleware.

options
IOptions<DefaultFilesOptions>

Options de configuration de ce middleware.

S’applique à