Sdílet prostřednictvím


HttpContextFactory.Create(IFeatureCollection) Metoda

Definice

Inicializuje novou instanci Třídy DefaultHttpContext s možnostmi předanými v.

public:
 virtual Microsoft::AspNetCore::Http::HttpContext ^ Create(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ featureCollection);
public Microsoft.AspNetCore.Http.HttpContext Create (Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection);
abstract member Create : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.HttpContext
override this.Create : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.HttpContext
Public Function Create (featureCollection As IFeatureCollection) As HttpContext

Parametry

featureCollection
IFeatureCollection

Možnosti nastavení při vytvoření instance výchozího objektu kontextu HTTP

Návraty

Implementuje

Platí pro