Partager via


RequestServicesFeature(HttpContext, IServiceScopeFactory) Constructeur

Définition

Initialise une nouvelle instance de RequestServicesFeature.

public:
 RequestServicesFeature(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::Extensions::DependencyInjection::IServiceScopeFactory ^ scopeFactory);
public RequestServicesFeature (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory scopeFactory);
public RequestServicesFeature (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory? scopeFactory);
new Microsoft.AspNetCore.Http.Features.RequestServicesFeature : Microsoft.AspNetCore.Http.HttpContext * Microsoft.Extensions.DependencyInjection.IServiceScopeFactory -> Microsoft.AspNetCore.Http.Features.RequestServicesFeature
Public Sub New (context As HttpContext, scopeFactory As IServiceScopeFactory)

Paramètres

context
HttpContext

L’HttpContextopérateur

scopeFactory
IServiceScopeFactory

L’IServiceScopeFactoryopérateur

S’applique à