TempDataDictionary(HttpContext, ITempDataProvider) Constructeur

Définition

Initialise une nouvelle instance de la classe TempDataDictionary.

public:
 TempDataDictionary(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataProvider ^ provider);
public TempDataDictionary (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider provider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.TempDataDictionary
Public Sub New (context As HttpContext, provider As ITempDataProvider)

Paramètres

context
HttpContext

L’HttpContextopérateur

provider
ITempDataProvider

ITempDataProvider utilisé pour charger et enregistrer des données.

S’applique à