4 overrides of InvokeAsync
Microsoft.AspNetCore.Components (1)
Rendering\RendererSynchronizationContextDispatcher.cs (1)
21public override Task InvokeAsync(Action workItem)
Microsoft.AspNetCore.Components.WebView.Maui (1)
MauiDispatcher.cs (1)
21 public override Task InvokeAsync(Action workItem)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
WindowsFormsDispatcher.cs (1)
41 public override async Task InvokeAsync(Action workItem)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
WpfDispatcher.cs (1)
26 public override async Task InvokeAsync(Action workItem)
12 references to InvokeAsync
Microsoft.AspNetCore.Components (6)
CascadingValueSource.cs (1)
98tasks.Add(dispatcher.InvokeAsync(() =>
ComponentBase.cs (1)
206=> _renderHandle.Dispatcher.InvokeAsync(workItem);
RenderHandle.cs (1)
113return Dispatcher.InvokeAsync(() => renderer!.HandleComponentException(exception, componentId));
RenderTree\Renderer.cs (3)
203await Dispatcher.InvokeAsync(() => 1240var done = Dispatcher.InvokeAsync(() => Dispose(disposing)); 1381await Dispatcher.InvokeAsync(Dispose);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
348await _dispatcher.InvokeAsync(() => WriteTo(writer, HtmlEncoder.Default));
Microsoft.AspNetCore.Components.Server (5)
Circuits\CircuitHost.cs (4)
409await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 435await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 469await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 569await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() =>
Circuits\RemoteRenderer.cs (1)
298return Dispatcher.InvokeAsync(() =>