8 overrides of InvokeAsync
Microsoft.AspNetCore.Components (1)
Rendering\RendererSynchronizationContextDispatcher.cs (1)
44public override Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
Microsoft.AspNetCore.Components.WebAssembly (2)
Rendering\NullDispatcher.cs (1)
31public override Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
Rendering\WebAssemblyDispatcher.cs (1)
51public override Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
Microsoft.AspNetCore.Components.WebView.Maui (1)
MauiDispatcher.cs (1)
31 public override Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
Microsoft.AspNetCore.Components.WebView.Photino (1)
PhotinoDispatcher.cs (1)
44public override Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
WindowsFormsDispatcher.cs (1)
109 public override async Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
WpfDispatcher.cs (1)
72 public override async Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
Wasm.Performance.ConsoleHost (1)
NullDispatcher.cs (1)
24public override Task<TResult> InvokeAsync<TResult>(Func<TResult> workItem)
10 references to InvokeAsync
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
122var htmlRootComponent = await Dispatcher.InvokeAsync(() => BeginRenderingComponent(rootComponent, parameters));
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
EndpointHtmlRendererTest.cs (1)
683var content = await renderer.Dispatcher.InvokeAsync(() => HtmlContentToString(result));
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitHost.cs (1)
505return await Renderer.Dispatcher.InvokeAsync<DotNetStreamReference>(() =>
Microsoft.AspNetCore.Components.Tests (4)
CascadingParameterTest.cs (4)
582var componentId = await renderer.Dispatcher.InvokeAsync(() => renderer.AssignRootComponentId(component)); 652var componentId = await renderer.Dispatcher.InvokeAsync(() => renderer.AssignRootComponentId(component)); 708var componentId = await renderer.Dispatcher.InvokeAsync(() => renderer.AssignRootComponentId(component)); 850await renderer.Dispatcher.InvokeAsync(() => renderer.AssignRootComponentId(component));
Microsoft.AspNetCore.Components.Web.Tests (1)
HtmlRendering\HtmlRendererTest.cs (1)
39var htmlContent = await htmlRenderer.Dispatcher.InvokeAsync(htmlRenderer.BeginRenderingComponent<TestComponent>);
Microsoft.AspNetCore.Components.WebView (1)
WebViewManager.cs (1)
187return await capturedCurrentPageContext.Renderer.Dispatcher.InvokeAsync(() =>
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
ComponentTagHelperTest.cs (1)
40var content = await prerenderer.Dispatcher.InvokeAsync(() => HtmlContentUtilities.HtmlContentToString(output.Content));