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)
19 references to InvokeAsync
Aspire.Dashboard.Components.Tests (3)
Controls\FluentDataGridLifecycleTests.cs (2)
77await Renderer.Dispatcher.InvokeAsync(() => { }); 93await Renderer.Dispatcher.InvokeAsync(() => { });
Pages\MetricsTests.cs (1)
2011await Renderer.Dispatcher.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)
224await Dispatcher.InvokeAsync(() => 1273var done = Dispatcher.InvokeAsync(() => Dispose(disposing)); 1414await Dispatcher.InvokeAsync(Dispose);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
357await _dispatcher.InvokeAsync(() => WriteTo(writer, HtmlEncoder.Default));
Microsoft.AspNetCore.Components.Server (5)
Circuits\CircuitHost.cs (4)
418await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 444await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 478await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() => 578await HandleInboundActivityAsync(() => Renderer.Dispatcher.InvokeAsync(() =>
Circuits\RemoteRenderer.cs (1)
311return Dispatcher.InvokeAsync(() =>
Microsoft.AspNetCore.Components.WebView (4)
IpcSender.cs (3)
109_dispatcher.InvokeAsync(() => _messageDispatcher(message)); 112_dispatcher.InvokeAsync(() => ExceptionDispatchInfo.Capture(exception).Throw()); 117NotifyErrors(_dispatcher.InvokeAsync(() => _messageDispatcher(message)));
WebViewManager.cs (1)
132return Dispatcher.InvokeAsync(() => _currentPageContext.Renderer.RemoveRootComponent(rootComponent.ComponentId.Value));