Share via


RequestServicesFeature(HttpContext, IServiceScopeFactory) Constructor

Definition

Initializes a new instance of 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)

Parameters

context
HttpContext

The HttpContext.

Applies to