DefaultHttpContextFactory.Create(IFeatureCollection) Methode

Definition

Erstellen Sie eine HttpContext instance mit einem featureCollection.

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

Parameter

featureCollection
IFeatureCollection

Gibt zurück

Ein initialisiertes HttpContext-Objekt.

Implementiert

Gilt für: