Freigeben über


TempDataDictionary(HttpContext, ITempDataProvider) Konstruktor

Definition

Initialisiert eine neue Instanz der TempDataDictionary-Klasse.

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)

Parameter

context
HttpContext

Die HttpContext.

provider
ITempDataProvider

Die ITempDataProvider zum Laden und Speichern von Daten verwendete.

Gilt für: