1 implementation of ITempDataDictionary
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionary.cs (1)
18public class TempDataDictionary : ITempDataDictionary
56 references to ITempDataDictionary
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageBase.cs (2)
137/// Gets the <see cref="ITempDataDictionary"/> from the <see cref="ViewContext"/>. 140public ITempDataDictionary TempData => ViewContext?.TempData!;
Microsoft.AspNetCore.Mvc.RazorPages (4)
Filters\PageSaveTempDataPropertyFilter.cs (1)
23var tempData = _tempDataFactory.GetTempData(context.HttpContext);
PageModel.cs (3)
31private ITempDataDictionary? _tempData; 89/// Gets or sets <see cref="ITempDataDictionary"/> used by <see cref="PageResult"/>. 91public ITempDataDictionary TempData
Microsoft.AspNetCore.Mvc.ViewFeatures (50)
Controller.cs (3)
19private ITempDataDictionary? _tempData; 63/// Gets or sets <see cref="ITempDataDictionary"/> used by <see cref="ViewResult"/>. 65public ITempDataDictionary TempData
CookieTempDataProvider.cs (1)
15/// Provides data from cookie to the current <see cref="ITempDataDictionary"/> object.
Filters\ControllerSaveTempDataPropertyFilter.cs (1)
23var tempData = _tempDataFactory.GetTempData(context.HttpContext);
Filters\ISaveTempDataCallback.cs (1)
10void OnTempDataSaving(ITempDataDictionary tempData);
Filters\SaveTempDataFilter.cs (1)
124var tempData = factory.GetTempData(httpContext);
Filters\SaveTempDataPropertyFilterBase.cs (4)
38/// <param name="tempData">The <see cref="ITempDataDictionary"/> to be updated.</param> 39public void OnTempDataSaving(ITempDataDictionary tempData) 62/// <param name="tempData">The <see cref="ITempDataDictionary"/>.</param> 63protected void SetPropertyValues(ITempDataDictionary tempData)
HtmlHelper.cs (1)
116public ITempDataDictionary TempData => ViewContext.TempData;
Infrastructure\TempDataSerializer.cs (5)
7/// Serializes and deserializes the contents of <see cref="ITempDataDictionary"/>. 13/// used to initialize an instance of <see cref="ITempDataDictionary"/>. 15/// <param name="unprotectedData">Serialized representation of <see cref="ITempDataDictionary"/>.</param> 20/// Serializes the contents of <see cref="ITempDataDictionary"/>. 22/// <param name="values">The contents of <see cref="ITempDataDictionary"/>.</param>
ITempDataDictionaryFactory.cs (4)
9/// A factory which provides access to an <see cref="ITempDataDictionary"/> instance 15/// Gets or creates an <see cref="ITempDataDictionary"/> instance for the request associated with the 20/// An <see cref="ITempDataDictionary"/> instance for the request associated with the given 23ITempDataDictionary GetTempData(HttpContext context);
PartialViewResult.cs (2)
43/// Gets or sets the <see cref="ITempDataDictionary"/> used for rendering the view for this result. 45public ITempDataDictionary TempData { get; set; } = default!;
Rendering\IHtmlHelper.cs (2)
49/// Gets the current <see cref="ITempDataDictionary"/> instance. 51ITempDataDictionary TempData { get; }
Rendering\ViewContext.cs (4)
44/// <param name="tempData">The <see cref="ITempDataDictionary"/>.</param> 51ITempDataDictionary tempData, 186/// Gets or sets the <see cref="ITempDataDictionary"/> instance. 188public ITempDataDictionary TempData { get; set; }
SaveTempDataAttribute.cs (1)
13/// A filter that saves the <see cref="ITempDataDictionary"/> for a request.
SessionStateTempDataProvider.cs (1)
10/// Provides session-state data to the current <see cref="ITempDataDictionary"/> object.
TempDataAttribute.cs (2)
12/// and loaded from the <see cref="ITempDataDictionary"/>. <see cref="TempDataAttribute"/> 19/// Gets or sets the key used to get or add the property from value from <see cref="ITempDataDictionary"/>.
TempDataDictionaryFactory.cs (4)
13private static readonly object Key = typeof(ITempDataDictionary); 29public ITempDataDictionary GetTempData(HttpContext context) 34ITempDataDictionary result; 37result = (ITempDataDictionary)obj;
ViewComponent.cs (2)
137/// Gets the <see cref="ITempDataDictionary"/>. 139public ITempDataDictionary TempData => ViewComponentContext.TempData;
ViewComponentResult.cs (2)
49/// Gets or sets the <see cref="ITempDataDictionary"/> for this result. 51public ITempDataDictionary TempData { get; set; } = default!;
ViewComponentResultExecutor.cs (1)
80var tempData = result.TempData;
ViewComponents\ViewComponentContext.cs (2)
106/// Gets the <see cref="ITempDataDictionary"/>. 111public ITempDataDictionary TempData => ViewContext.TempData;
ViewComponents\ViewViewComponentResult.cs (2)
37/// Gets or sets the <see cref="ITempDataDictionary"/> instance. 39public ITempDataDictionary TempData { get; set; } = default!;
ViewExecutor.cs (2)
112/// <param name="tempData">The <see cref="ITempDataDictionary"/>.</param> 125ITempDataDictionary tempData,
ViewResult.cs (2)
43/// Gets or sets the <see cref="ITempDataDictionary"/> for this result. 45public ITempDataDictionary TempData { get; set; } = default!;