Partilhar via


IHttpContextFactory.Create(IFeatureCollection) Método

Definição

Cria uma HttpContext instância para o conjunto especificado de recursos HTTP.

public:
 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
Public Function Create (featureCollection As IFeatureCollection) As HttpContext

Parâmetros

featureCollection
IFeatureCollection

A coleção de recursos HTTP a serem definidos na instância criada.

Retornos

A instância HttpContext.

Aplica-se a