20 instantiations of TagHelperExecutionContext
Microsoft.AspNetCore.Mvc.Razor.Test (5)
RazorPageTest.cs (5)
980var executionContext = new TagHelperExecutionContext( 1022var executionContext = new TagHelperExecutionContext( 1068var executionContext = new TagHelperExecutionContext( 1111var executionContext = new TagHelperExecutionContext( 1141var executionContext = new TagHelperExecutionContext(
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
RenderAtEndOfFormTagHelperTest.cs (1)
89var tagHelperExecutionContext = new TagHelperExecutionContext(
Microsoft.AspNetCore.Razor.Runtime (1)
Runtime\TagHelpers\TagHelperScopeManager.cs (1)
130tagHelperExecutionContext = new TagHelperExecutionContext(
Microsoft.AspNetCore.Razor.Runtime.Test (13)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (13)
18var executionContext = new TagHelperExecutionContext( 41var executionContext = new TagHelperExecutionContext( 66var executionContext = new TagHelperExecutionContext( 101var executionContext = new TagHelperExecutionContext( 159var executionContext = new TagHelperExecutionContext( 215var executionContext = new TagHelperExecutionContext( 269var executionContext = new TagHelperExecutionContext( 297var executionContext = new TagHelperExecutionContext( 319var executionContext = new TagHelperExecutionContext( 346var executionContext = new TagHelperExecutionContext( 373var executionContext = new TagHelperExecutionContext( 403var executionContext = new TagHelperExecutionContext( 430var executionContext = new TagHelperExecutionContext(
75 references to TagHelperExecutionContext
Microsoft.AspNetCore.Mvc.Razor (6)
RazorPageBase.cs (6)
573/// <param name="executionContext">The <see cref="TagHelperExecutionContext"/>.</param> 578TagHelperExecutionContext executionContext, 657/// <param name="executionContext">The <see cref="TagHelperExecutionContext"/>.</param> 658public void EndAddHtmlAttributeValues(TagHelperExecutionContext executionContext) 814TagHelperExecutionContext tagHelperExecutionContext, 829public TagHelperExecutionContext ExecutionContext { get; }
Microsoft.AspNetCore.Mvc.Razor.Test (5)
RazorPageTest.cs (5)
980var executionContext = new TagHelperExecutionContext( 1022var executionContext = new TagHelperExecutionContext( 1068var executionContext = new TagHelperExecutionContext( 1111var executionContext = new TagHelperExecutionContext( 1141var executionContext = new TagHelperExecutionContext(
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
RenderAtEndOfFormTagHelperTest.cs (1)
89var tagHelperExecutionContext = new TagHelperExecutionContext(
Microsoft.AspNetCore.Razor.Runtime (19)
Runtime\TagHelpers\TagHelperExecutionContext.cs (2)
38/// Instantiates a new <see cref="TagHelperExecutionContext"/>. 169/// Clears the <see cref="TagHelperExecutionContext"/> and updates its state with the provided values.
Runtime\TagHelpers\TagHelperRunner.cs (2)
21public Task RunAsync(TagHelperExecutionContext executionContext) 48static async Task Awaited(Task task, TagHelperExecutionContext executionContext, int i, int count)
Runtime\TagHelpers\TagHelperScopeManager.cs (15)
11/// Class that manages <see cref="TagHelperExecutionContext"/> scopes. 36/// Starts a <see cref="TagHelperExecutionContext"/> scope. 42/// <returns>A <see cref="TagHelperExecutionContext"/> to use.</returns> 43public TagHelperExecutionContext Begin( 54var parentExecutionContext = _executionContextPool.Current; 68var executionContext = _executionContextPool.Rent( 79/// Ends a <see cref="TagHelperExecutionContext"/> scope. 81/// <returns>If the current scope is nested, the parent <see cref="TagHelperExecutionContext"/>. 83public TagHelperExecutionContext End() 96var parentExecutionContext = _executionContextPool.Current; 105private readonly List<TagHelperExecutionContext> _executionContexts; 112_executionContexts = new List<TagHelperExecutionContext>(); 117public TagHelperExecutionContext Current => _nextIndex > 0 ? _executionContexts[_nextIndex - 1] : null; 119public TagHelperExecutionContext Rent( 126TagHelperExecutionContext tagHelperExecutionContext;
Microsoft.AspNetCore.Razor.Runtime.Test (44)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (20)
18var executionContext = new TagHelperExecutionContext( 41var executionContext = new TagHelperExecutionContext( 66var executionContext = new TagHelperExecutionContext( 101var executionContext = new TagHelperExecutionContext( 159var executionContext = new TagHelperExecutionContext( 196var executionContext = new TagHelperExecutionContext("p", tagMode); 215var executionContext = new TagHelperExecutionContext( 269var executionContext = new TagHelperExecutionContext( 297var executionContext = new TagHelperExecutionContext( 319var executionContext = new TagHelperExecutionContext( 346var executionContext = new TagHelperExecutionContext( 373var executionContext = new TagHelperExecutionContext( 403var executionContext = new TagHelperExecutionContext( 430var executionContext = new TagHelperExecutionContext( 451var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 474var executionContext = new TagHelperExecutionContext("input", tagMode: TagMode.StartTagOnly); 497var executionContext = new TagHelperExecutionContext("input", tagMode: TagMode.SelfClosing); 528var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 553var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 568var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag);
Runtime\TagHelpers\TagHelperRunnerTest.cs (7)
16var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 92var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 119var executionContext = new TagHelperExecutionContext("p", tagMode); 137var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 156var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 177var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag); 194var executionContext = new TagHelperExecutionContext("p", TagMode.StartTagAndEndTag);
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (17)
18var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 32var parentExecutionContext = BeginDefaultScope(scopeManager, tagName: "p"); 36var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 50var parentExecutionContext = BeginDefaultScope(scopeManager, tagName: "p"); 52var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 71var parentExecutionContext = BeginDefaultScope(scopeManager, tagName: "p"); 73var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 92var parentExecutionContext = BeginDefaultScope(scopeManager, tagName: "p"); 93var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 110var parentExecutionContext = BeginDefaultScope(scopeManager, tagName: "p"); 112var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 131var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 145var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 163var executionContext = BeginDefaultScope(scopeManager, "p", tagMode); 177var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 193var executionContext = BeginDefaultScope(scopeManager, tagName: "p"); 230private static TagHelperExecutionContext BeginDefaultScope(