30 instantiations of TempData
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\TempDataService.cs (1)
20return new TempData(() => Load(httpContext));
Microsoft.AspNetCore.Components.Endpoints.Tests (29)
TempData\CookieTempDataProviderTest.cs (1)
19return new TempData(() => new Dictionary<string, object>());
TempData\SessionStorageTempDataProviderTest.cs (1)
16return new TempData(() => new Dictionary<string, object>());
TempData\TempDataCascadingValueSupplierTest.cs (7)
28var tempData = new TempData(() => new Dictionary<string, object>()); 50var tempData = new TempData(() => new Dictionary<string, object>()); 59var tempData = new TempData(() => new Dictionary<string, object>()); 75var tempData = new TempData(() => new Dictionary<string, object>()); 89var tempData = new TempData(() => new Dictionary<string, object>()); 101var tempData = new TempData(() => new Dictionary<string, object>()); 119var tempData = new TempData(() => new Dictionary<string, object>());
TempData\TempDataSubscriptionTest.cs (12)
53var tempData = new TempData(() => new Dictionary<string, object>()); 66var tempData = new TempData(() => new Dictionary<string, object>()); 80var tempData = new TempData(() => new Dictionary<string, object>()); 94var tempData = new TempData(() => new Dictionary<string, object>()); 109var tempData = new TempData(() => new Dictionary<string, object>()); 124var tempData = new TempData(() => new Dictionary<string, object>()); 153var tempData = new TempData(() => new Dictionary<string, object>()); 168var tempData = new TempData(() => new Dictionary<string, object>()); 182var tempData = new TempData(() => new Dictionary<string, object>()); 196var tempData = new TempData(() => new Dictionary<string, object>()); 214var tempData = new TempData(() => new Dictionary<string, object>()); 230var persistedTempData = new TempData(() => new Dictionary<string, object>());
TempData\TempDataTest.cs (8)
10return new TempData(() => new Dictionary<string, object>()); 220var tempData = new TempData(() => 237var tempData = new TempData(() => 257var tempData = new TempData(() => new Dictionary<string, object> 272var tempData = new TempData(() => new Dictionary<string, object> 287var tempData = new TempData(() => new Dictionary<string, object> 302var tempData = new TempData(() => new Dictionary<string, object> 319var tempData = new TempData(() => new Dictionary<string, object>
59 references to TempData
Microsoft.AspNetCore.Components.Endpoints (5)
DependencyInjection\TempDataService.cs (2)
18public TempData CreateEmpty(HttpContext httpContext) 28public void Save(HttpContext httpContext, TempData tempData)
TempData\TempData.cs (2)
173private readonly TempData _tempData; 177public TempDataEnumerator(TempData tempData)
TempData\TempDataProviderServiceCollectionExtensions.cs (1)
58var tempDataInstance = tempDataService.CreateEmpty(httpContext);
Microsoft.AspNetCore.Components.Endpoints.Tests (54)
TempData\CookieTempDataProviderTest.cs (5)
17internal TempData CreateTempData() 61var tempData = CreateTempData(); 74var tempData = CreateTempData(); 88var tempData = CreateTempData(); 98var tempData = CreateTempData();
TempData\SessionStorageTempDataProviderTest.cs (5)
14internal TempData CreateTempData() 43var tempData = CreateTempData(); 53var tempData = CreateTempData(); 66var tempData = CreateTempData(); 99var tempData = CreateTempData();
TempData\TempDataCascadingValueSupplierTest.cs (7)
28var tempData = new TempData(() => new Dictionary<string, object>()); 50var tempData = new TempData(() => new Dictionary<string, object>()); 59var tempData = new TempData(() => new Dictionary<string, object>()); 75var tempData = new TempData(() => new Dictionary<string, object>()); 89var tempData = new TempData(() => new Dictionary<string, object>()); 101var tempData = new TempData(() => new Dictionary<string, object>()); 119var tempData = new TempData(() => new Dictionary<string, object>());
TempData\TempDataSubscriptionTest.cs (12)
53var tempData = new TempData(() => new Dictionary<string, object>()); 66var tempData = new TempData(() => new Dictionary<string, object>()); 80var tempData = new TempData(() => new Dictionary<string, object>()); 94var tempData = new TempData(() => new Dictionary<string, object>()); 109var tempData = new TempData(() => new Dictionary<string, object>()); 124var tempData = new TempData(() => new Dictionary<string, object>()); 153var tempData = new TempData(() => new Dictionary<string, object>()); 168var tempData = new TempData(() => new Dictionary<string, object>()); 182var tempData = new TempData(() => new Dictionary<string, object>()); 196var tempData = new TempData(() => new Dictionary<string, object>()); 214var tempData = new TempData(() => new Dictionary<string, object>()); 230var persistedTempData = new TempData(() => new Dictionary<string, object>());
TempData\TempDataTest.cs (25)
8internal TempData CreateTempData() 16var tempData = CreateTempData(); 25var tempData = CreateTempData(); 38var tempData = CreateTempData(); 46var tempData = CreateTempData(); 57var tempData = CreateTempData(); 65var tempData = CreateTempData(); 82var tempData = CreateTempData(); 98var tempData = CreateTempData(); 111var tempData = CreateTempData(); 120var tempData = CreateTempData(); 128var tempData = CreateTempData(); 141var tempData = CreateTempData(); 149var tempData = CreateTempData(); 165var tempData = CreateTempData(); 181var tempData = CreateTempData(); 197var tempData = CreateTempData(); 210var tempData = CreateTempData(); 220var tempData = new TempData(() => 237var tempData = new TempData(() => 257var tempData = new TempData(() => new Dictionary<string, object> 272var tempData = new TempData(() => new Dictionary<string, object> 287var tempData = new TempData(() => new Dictionary<string, object> 302var tempData = new TempData(() => new Dictionary<string, object> 319var tempData = new TempData(() => new Dictionary<string, object>