Condividi tramite


HttpContextFactory.Create(IFeatureCollection) Metodo

Definizione

Inizializza una nuova istanza della classe DefaultHttpContext con le opzioni passate.

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

Parametri

featureCollection
IFeatureCollection

Opzioni da impostare quando si crea un'istanza dell'oggetto contesto HTTP predefinito.

Restituisce

Implementazioni

Si applica a