6 overrides of InvokeAsync
Microsoft.AspNetCore.Components (1)
Rendering\RendererSynchronizationContextDispatcher.cs (1)
21public override Task InvokeAsync(Action workItem)
Microsoft.AspNetCore.Components.WebAssembly (2)
Rendering\NullDispatcher.cs (1)
16public override Task InvokeAsync(Action workItem)
Rendering\WebAssemblyDispatcher.cs (1)
18public 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)
16 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)
117return Dispatcher.InvokeAsync(() => renderer!.HandleComponentException(exception, componentId));
RenderTree\Renderer.cs (3)
223await Dispatcher.InvokeAsync(() => 1261var done = Dispatcher.InvokeAsync(() => Dispose(disposing)); 1402await 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)
410await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 436await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 470await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 570await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() =>
Circuits\RemoteRenderer.cs (1)
298return Dispatcher.InvokeAsync(() =>
Microsoft.AspNetCore.Components.WebView (4)
IpcSender.cs (3)
89_dispatcher.InvokeAsync(() => _messageDispatcher(message)); 92_dispatcher.InvokeAsync(() => ExceptionDispatchInfo.Capture(exception).Throw()); 97NotifyErrors(_dispatcher.InvokeAsync(() => _messageDispatcher(message)));
WebViewManager.cs (1)
132return Dispatcher.InvokeAsync(() => _currentPageContext.Renderer.RemoveRootComponent(rootComponent.ComponentId.Value));