1 write to Items
Microsoft.AspNetCore.Razor.Runtime (1)
Runtime\TagHelpers\TagHelperExecutionContext.cs (1)
188Items = items;
23 references to Items
Microsoft.AspNetCore.Razor.Runtime (2)
Runtime\TagHelpers\TagHelperExecutionContext.cs (1)
194Context.Reinitialize(tagName, Items, uniqueId);
Runtime\TagHelpers\TagHelperScopeManager.cs (1)
60parentExecutionContext.Items,
Microsoft.AspNetCore.Razor.Runtime.Test (21)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (2)
225Assert.NotNull(executionContext.Items); 226Assert.Same(expectedItems, executionContext.Items);
Runtime\TagHelpers\TagHelperRunnerTest.cs (1)
203Assert.Same(tagHelper.ContextProcessedWith.Items, executionContext.Items);
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (18)
19executionContext.Items["test-entry"] = 1234; 22var executionContextItem = Assert.Single(executionContext.Items); 33parentExecutionContext.Items["test-entry"] = 1234; 39var executionContextItem = Assert.Single(executionContext.Items); 51parentExecutionContext.Items["test-entry"] = parentComplexObject; 55((Dictionary<string, int>)executionContext.Items["test-entry"]).Add("from-child", 1234); 58var executionContextItem = Assert.Single(executionContext.Items); 72parentExecutionContext.Items["test-entry"] = 1234; 76executionContext.Items["test-entry"] = 2222; 79var executionContextItem = Assert.Single(executionContext.Items); 82var parentExecutionContextItem = Assert.Single(parentExecutionContext.Items); 96executionContext.Items["new-entry"] = 2222; 99var executionContextItem = Assert.Single(executionContext.Items); 102Assert.Empty(parentExecutionContext.Items); 111parentExecutionContext.Items["test-entry"] = 1234; 115executionContext.Items.Remove("test-entry"); 118Assert.Empty(executionContext.Items); 119var parentExecutionContextItem = Assert.Single(parentExecutionContext.Items);