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