Udostępnij za pośrednictwem


TempDataDictionaryFactory.GetTempData(HttpContext) Metoda

Definicja

Pobiera lub tworzy ITempDataDictionary wystąpienie dla żądania skojarzonego z danym contextelementem .

public:
 virtual Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionary ^ GetTempData(Microsoft::AspNetCore::Http::HttpContext ^ context);
public Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary GetTempData (Microsoft.AspNetCore.Http.HttpContext context);
abstract member GetTempData : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary
override this.GetTempData : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary
Public Function GetTempData (context As HttpContext) As ITempDataDictionary

Parametry

context
HttpContext

Element HttpContext.

Zwraca

Wystąpienie ITempDataDictionary żądania skojarzonego z danym contextelementem .

Implementuje

Dotyczy