Compartir a través de


DefaultHttpContextFactory(IServiceProvider) Constructor

Definición

Crea un generador para crear HttpContext instancias.

public:
 DefaultHttpContextFactory(IServiceProvider ^ serviceProvider);
public DefaultHttpContextFactory (IServiceProvider serviceProvider);
new Microsoft.AspNetCore.Http.DefaultHttpContextFactory : IServiceProvider -> Microsoft.AspNetCore.Http.DefaultHttpContextFactory
Public Sub New (serviceProvider As IServiceProvider)

Parámetros

serviceProvider
IServiceProvider

que IServiceProvider se va a usar al recuperar servicios.

Se aplica a