Udostępnij za pośrednictwem


RequestServicesFeature(HttpContext, IServiceScopeFactory) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

context
HttpContext

Element HttpContext.

Dotyczy