15 references to GetChildContentAsync
Microsoft.AspNetCore.Razor.Runtime (2)
Runtime\TagHelpers\TagHelperExecutionContext.cs (2)
67Output = new TagHelperOutput(tagName, new TagHelperAttributeList(), GetChildContentAsync) 79/// Indicates if <see cref="GetChildContentAsync"/> has been called.
Microsoft.AspNetCore.Razor.Runtime.Test (13)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (13)
56async () => await executionContext.GetChildContentAsync(useCachedResult: false, encoder: null)); 285var actualContent = await executionContext.GetChildContentAsync(useCachedResult: true, encoder: encoder); 307await executionContext.GetChildContentAsync(useCachedResult: true, encoder: encoder); 333var content1 = await executionContext.GetChildContentAsync(useCachedResult: true, encoder: encoder); 334var content2 = await executionContext.GetChildContentAsync(useCachedResult: true, encoder: encoder); 360var content1 = await executionContext.GetChildContentAsync(useCachedResult: true, encoder: null); 361var content2 = await executionContext.GetChildContentAsync(useCachedResult: true, encoder: encoder); 390var content1 = await executionContext.GetChildContentAsync(useCachedResult: true, encoder: firstEncoder); 391var content2 = await executionContext.GetChildContentAsync(useCachedResult: true, encoder: encoder); 417await executionContext.GetChildContentAsync(useCachedResult: false, encoder: encoder); 418await executionContext.GetChildContentAsync(useCachedResult: false, encoder: encoder); 440var content1 = await executionContext.GetChildContentAsync(useCachedResult, encoder: null); 441var content2 = await executionContext.GetChildContentAsync(useCachedResult, encoder: null);