RequestServicesFeature(HttpContext, IServiceScopeFactory) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- scopeFactory
- IServiceScopeFactory
The IServiceScopeFactory.