1 instantiation of TagHelperExecutionContext
Microsoft.AspNetCore.Razor.Runtime (1)
Runtime\TagHelpers\TagHelperScopeManager.cs (1)
130
tagHelperExecutionContext = new
TagHelperExecutionContext
(
25 references to TagHelperExecutionContext
Microsoft.AspNetCore.Mvc.Razor (6)
RazorPageBase.cs (6)
573
/// <param name="executionContext">The <see cref="
TagHelperExecutionContext
"/>.</param>
578
TagHelperExecutionContext
executionContext,
657
/// <param name="executionContext">The <see cref="
TagHelperExecutionContext
"/>.</param>
658
public void EndAddHtmlAttributeValues(
TagHelperExecutionContext
executionContext)
814
TagHelperExecutionContext
tagHelperExecutionContext,
829
public
TagHelperExecutionContext
ExecutionContext { get; }
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)
21
public Task RunAsync(
TagHelperExecutionContext
executionContext)
48
static 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>
43
public
TagHelperExecutionContext
Begin(
54
var
parentExecutionContext = _executionContextPool.Current;
68
var
executionContext = _executionContextPool.Rent(
79
/// Ends a <see cref="
TagHelperExecutionContext
"/> scope.
81
/// <returns>If the current scope is nested, the parent <see cref="
TagHelperExecutionContext
"/>.
83
public
TagHelperExecutionContext
End()
96
var
parentExecutionContext = _executionContextPool.Current;
105
private readonly List<
TagHelperExecutionContext
> _executionContexts;
112
_executionContexts = new List<
TagHelperExecutionContext
>();
117
public
TagHelperExecutionContext
Current => _nextIndex > 0 ? _executionContexts[_nextIndex - 1] : null;
119
public
TagHelperExecutionContext
Rent(
126
TagHelperExecutionContext
tagHelperExecutionContext;