Implemented interface member:
36 writes to
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\TempData.cs (1)
124this[key] = value;
Microsoft.AspNetCore.Components.Endpoints.Tests (35)
TempData\CookieTempDataProviderTest.cs (4)
75tempData["Key1"] = "Value1"; 89tempData["Key"] = new object(); 99tempData["StringKey"] = "StringValue"; 100tempData["IntKey"] = 42;
TempData\SessionStorageTempDataProviderTest.cs (4)
54tempData["Key1"] = "Value1"; 67tempData["Key"] = new object(); 100tempData["StringKey"] = "StringValue"; 101tempData["IntKey"] = 42;
TempData\TempDataCascadingValueSupplierTest.cs (1)
60tempData["key"] = "existing";
TempData\TempDataSubscriptionTest.cs (9)
67tempData["mykey"] = "myvalue"; 81tempData["MyKey"] = "myvalue"; 95tempData["status"] = 1; // Stored as int (enums are serialized as int) 110tempData["status"] = 2; 154tempData["key"] = "not an int"; 169tempData["key"] = 42; 183tempData["key"] = true; 197tempData["key"] = "original"; 215tempData[nameof(TestComponent.Value)] = "from-tempdata";
TempData\TempDataTest.cs (17)
17tempData["Key1"] = "Value1"; 26tempData["Key1"] = "Value1"; 47tempData["Key1"] = "Value1"; 66tempData["Key1"] = "Value1"; 67tempData["Key2"] = "Value2"; 83tempData["Key1"] = "Value1"; 84tempData["Key2"] = "Value2"; 99tempData["Key1"] = "Value1"; 112tempData["Key1"] = "Value1"; 129tempData["Key1"] = "Value1"; 150tempData["Key1"] = "Value1"; 151tempData["Key2"] = "Value2"; 152tempData["Key3"] = "Value3"; 182tempData["ExistingKey"] = "ExistingValue"; 198tempData["Key1"] = "Value1"; 199tempData["Key2"] = "Value2"; 211tempData["Key1"] = "Value1";
5 references to
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
TempData\TempDataSubscriptionTest.cs (1)
232Assert.Equal("updated", persistedTempData[nameof(TestComponent.Value)]);
TempData\TempDataTest.cs (4)
18var value = tempData["Key1"]; 212var value = tempData["KEY1"]; 244var value = tempData["Key"]; 277var value = tempData["Message"];