1 implementation of ITempDataDictionary
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionary.cs (1)
18
public 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"/>.
140
public
ITempDataDictionary
TempData => ViewContext?.TempData!;
Microsoft.AspNetCore.Mvc.RazorPages (4)
Filters\PageSaveTempDataPropertyFilter.cs (1)
23
var
tempData = _tempDataFactory.GetTempData(context.HttpContext);
PageModel.cs (3)
31
private
ITempDataDictionary
? _tempData;
89
/// Gets or sets <see cref="
ITempDataDictionary
"/> used by <see cref="PageResult"/>.
91
public
ITempDataDictionary
TempData
Microsoft.AspNetCore.Mvc.ViewFeatures (50)
Controller.cs (3)
19
private
ITempDataDictionary
? _tempData;
63
/// Gets or sets <see cref="
ITempDataDictionary
"/> used by <see cref="ViewResult"/>.
65
public
ITempDataDictionary
TempData
CookieTempDataProvider.cs (1)
15
/// Provides data from cookie to the current <see cref="
ITempDataDictionary
"/> object.
Filters\ControllerSaveTempDataPropertyFilter.cs (1)
23
var
tempData = _tempDataFactory.GetTempData(context.HttpContext);
Filters\ISaveTempDataCallback.cs (1)
10
void OnTempDataSaving(
ITempDataDictionary
tempData);
Filters\SaveTempDataFilter.cs (1)
124
var
tempData = factory.GetTempData(httpContext);
Filters\SaveTempDataPropertyFilterBase.cs (4)
38
/// <param name="tempData">The <see cref="
ITempDataDictionary
"/> to be updated.</param>
39
public void OnTempDataSaving(
ITempDataDictionary
tempData)
62
/// <param name="tempData">The <see cref="
ITempDataDictionary
"/>.</param>
63
protected void SetPropertyValues(
ITempDataDictionary
tempData)
HtmlHelper.cs (1)
116
public
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
23
ITempDataDictionary
GetTempData(HttpContext context);
PartialViewResult.cs (2)
43
/// Gets or sets the <see cref="
ITempDataDictionary
"/> used for rendering the view for this result.
45
public
ITempDataDictionary
TempData { get; set; } = default!;
Rendering\IHtmlHelper.cs (2)
49
/// Gets the current <see cref="
ITempDataDictionary
"/> instance.
51
ITempDataDictionary
TempData { get; }
Rendering\ViewContext.cs (4)
44
/// <param name="tempData">The <see cref="
ITempDataDictionary
"/>.</param>
51
ITempDataDictionary
tempData,
186
/// Gets or sets the <see cref="
ITempDataDictionary
"/> instance.
188
public
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)
13
private static readonly object Key = typeof(
ITempDataDictionary
);
29
public
ITempDataDictionary
GetTempData(HttpContext context)
34
ITempDataDictionary
result;
37
result = (
ITempDataDictionary
)obj;
ViewComponent.cs (2)
137
/// Gets the <see cref="
ITempDataDictionary
"/>.
139
public
ITempDataDictionary
TempData => ViewComponentContext.TempData;
ViewComponentResult.cs (2)
49
/// Gets or sets the <see cref="
ITempDataDictionary
"/> for this result.
51
public
ITempDataDictionary
TempData { get; set; } = default!;
ViewComponentResultExecutor.cs (1)
80
var
tempData = result.TempData;
ViewComponents\ViewComponentContext.cs (2)
106
/// Gets the <see cref="
ITempDataDictionary
"/>.
111
public
ITempDataDictionary
TempData => ViewContext.TempData;
ViewComponents\ViewViewComponentResult.cs (2)
37
/// Gets or sets the <see cref="
ITempDataDictionary
"/> instance.
39
public
ITempDataDictionary
TempData { get; set; } = default!;
ViewExecutor.cs (2)
112
/// <param name="tempData">The <see cref="
ITempDataDictionary
"/>.</param>
125
ITempDataDictionary
tempData,
ViewResult.cs (2)
43
/// Gets or sets the <see cref="
ITempDataDictionary
"/> for this result.
45
public
ITempDataDictionary
TempData { get; set; } = default!;