45 references to TempDataDictionary
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
Filters\PageSaveTempDataPropertyFilterTest.cs (5)
21
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
48
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
84
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
127
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
165
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
Infrastructure\PageActionInvokerProviderTest.cs (1)
502
.Returns((HttpContext context) => new
TempDataDictionary
(context, Mock.Of<ITempDataProvider>()));
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionaryFactory.cs (1)
41
result = new
TempDataDictionary
(context, _provider);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (38)
ControllerTest.cs (12)
70
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
91
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
115
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
136
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
158
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
180
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
202
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
226
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
249
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
271
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
293
TempData = new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>()),
434
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>());
Filters\ControllerSaveTempDataPropertyFilterTest.cs (4)
19
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
65
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
108
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>())
151
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>());
Rendering\DefaultTemplatesUtilities.cs (1)
292
new
TempDataDictionary
(
Rendering\ViewContextTests.cs (2)
26
tempData: new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>()),
53
tempData: new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>()),
TempDataDictionaryTest.cs (10)
14
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
27
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
44
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
64
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
80
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
97
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
116
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
132
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
151
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), provider);
166
var tempData = new
TempDataDictionary
(new DefaultHttpContext(), new NullTempDataProvider());
ViewComponentResultTest.cs (1)
31
new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>());
ViewComponents\ContentViewComponentResultTest.cs (1)
46
new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>()),
ViewComponents\HtmlContentViewComponentResultTest.cs (1)
46
new
TempDataDictionary
(actionContext.HttpContext, Mock.Of<ITempDataProvider>()),
ViewComponents\ViewComponentContextTest.cs (2)
24
var tempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>());
91
new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>()),
ViewComponents\ViewViewComponentResultTest.cs (2)
23
new
TempDataDictionary
(new DefaultHttpContext(), Mock.Of<ITempDataProvider>());
526
new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>()),
ViewComponentTests.cs (1)
243
viewContext.TempData = new
TempDataDictionary
(httpContext, Mock.Of<ITempDataProvider>());
ViewExecutorTest.cs (1)
165
serviceCollection.AddSingleton<ITempDataDictionary>(new
TempDataDictionary
(httpContext, tempDataProvider));