76 references to InvokeVoidAsync
Aspire.Dashboard (55)
Components\Controls\ApplicationSummary.razor.cs (3)
214await _jsModule.InvokeVoidAsync("initializeResourcesGraph", _resourcesInteropReference, graphIcons); 656await _jsModule.InvokeVoidAsync("updateResourcesGraphContextMenu", open); 681await _jsModule.InvokeVoidAsync("updateResourcesGraph", GetResourceGraphResources());
Components\Controls\Chart\MeterOverview.razor.cs (1)
123await cardObserver.InvokeVoidAsync("dispose");
Components\Controls\Chart\MetricTable.razor.cs (1)
90await _jsModule.InvokeVoidAsync("announceDataGridRows", "metric-table-container", indices);
Components\Controls\Chart\PlotlyChart.razor.cs (2)
88await _jsModule.InvokeVoidAsync( 100await _jsModule.InvokeVoidAsync(
Components\Controls\IconCheckbox.razor.cs (2)
105await _jsModule.InvokeVoidAsync("initializeIconCheckboxKeyboard", _element); 128await _jsModule.InvokeVoidAsync("disposeIconCheckboxKeyboard", _element);
Components\Controls\MarkdownRenderer.razor.cs (1)
55await _jsModule.InvokeVoidAsync("highlightCodeBlocks", _containerElement);
Components\Controls\TerminalTitle.razor.cs (2)
66await _jsModule.InvokeVoidAsync("observePath", _metadataElement); 95await _jsModule.InvokeVoidAsync("disconnectPath", _metadataElement);
Components\Controls\TerminalView.razor.cs (5)
176await _jsModule!.InvokeVoidAsync("setReadOnly", _terminalId, readOnly); 183await _jsModule!.InvokeVoidAsync("setAutoFit", _terminalId, autoFit); 280await _jsModule.InvokeVoidAsync("disposeTerminal", id); 436await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 536await _jsModule.InvokeVoidAsync("disposeTerminal", _terminalId);
Components\Controls\TextVisualizer.razor.cs (3)
71await _jsModule.InvokeVoidAsync("connectObserver", _containerElement); 79await _jsModule.InvokeVoidAsync("disconnectObserver", _containerElement); 94await _jsModule.InvokeVoidAsync("disconnectObserver", _containerElement);
Components\Dialogs\FilterDialog.razor.cs (1)
413await _jsModule.InvokeVoidAsync("showPicker", _datePickerInput);
Components\Dialogs\InteractionsInputDialog.razor.cs (1)
293await _jsModule.InvokeVoidAsync("togglePasswordVisibility", element.Id);
Components\Layout\ResourcesLayout.razor.cs (18)
603await _jsModule.InvokeVoidAsync("setResourcePickerOpen", _layoutElement, _selfRef, _isResourcePickerOpen); 613await _jsModule.InvokeVoidAsync("registerTabOverflow", _tabOverflowRegistrationId, _selfRef); 639await _jsModule.InvokeVoidAsync("registerPaneResizer", _layoutElement, _selfRef, MinimumPaneWidthPx, MaximumPaneWidthPx, DefaultPaneWidthPx); 643await _jsModule.InvokeVoidAsync("unregisterPaneResizer", _layoutElement); 647await _jsModule.InvokeVoidAsync( 655await _jsModule.InvokeVoidAsync("startPaneSelectionReveal", _layoutElement, _selfRef, startLocation); 662await _jsModule.InvokeVoidAsync("focusPaneSelectionReveal", _layoutElement, focusLocation); 677await jsModule.InvokeVoidAsync("registerResourceOrdering", _layoutElement, _selfRef); 678await jsModule.InvokeVoidAsync("registerResourceContextMenu", _layoutElement, _selfRef); 679await jsModule.InvokeVoidAsync("registerPaneActivityVisibility", _layoutElement, _selfRef); 802await module.InvokeVoidAsync("restoreResourceContextMenuFocus", _layoutElement); 3076await module.InvokeVoidAsync("unregisterPaneResizer", _layoutElement); 3077await module.InvokeVoidAsync("unregisterResourceOrdering", _layoutElement); 3078await module.InvokeVoidAsync("unregisterResourceContextMenu", _layoutElement); 3079await module.InvokeVoidAsync("unregisterPaneActivityVisibility", _layoutElement); 3080await module.InvokeVoidAsync("unregisterResourcePicker", _layoutElement); 3081await module.InvokeVoidAsync("cancelPaneSelectionReveal", _layoutElement); 3082await module.InvokeVoidAsync("unregisterTabOverflow", _tabOverflowRegistrationId);
Components\Layout\TerminalDock.razor.cs (4)
200await _jsModule.InvokeVoidAsync("registerResizeHandle", _dockElement, _selfRef, MinimumHeightPx, MaximumHeightPx).ConfigureAwait(true); 204await _jsModule.InvokeVoidAsync("registerTabNavigation", _dockElement, _selfRef).ConfigureAwait(true); 690await module.InvokeVoidAsync("unregisterResizeHandle", _dockElement).ConfigureAwait(true); 697await module.InvokeVoidAsync("unregisterTabNavigation", _dockElement).ConfigureAwait(true);
Components\Legacy\Pages\Resources.razor.cs (2)
407await _jsModule.InvokeVoidAsync("initializeResourcesGraph", _resourcesInteropReference, graphIcons); 447await _jsModule.InvokeVoidAsync(identifier, args);
Components\Legacy\Pages\TerminalWindow.razor.cs (1)
239await module.InvokeVoidAsync(release ? "releaseDetachedTerminalWindow" : "unregisterDetachedTerminalWindow", id);
Components\Pages\Metrics.razor.cs (1)
948await _jsModule.InvokeVoidAsync("unregisterMetricsSplitter", _metricsSplitterElement);
Components\Pages\Resources.razor.cs (2)
408await _jsModule.InvokeVoidAsync("initializeResourcesGraph", _resourcesInteropReference, graphIcons); 448await _jsModule.InvokeVoidAsync(identifier, args);
Components\Pages\TerminalWindow.razor.cs (1)
239await module.InvokeVoidAsync(release ? "releaseDetachedTerminalWindow" : "unregisterDetachedTerminalWindow", id);
Model\TerminalWindowLauncher.cs (4)
121await _module.InvokeVoidAsync("registerTerminalWindowButton", buttonId, _id, _selfRef, _navigationManager.BaseUri).ConfigureAwait(false); 134await module.InvokeVoidAsync("adoptTerminalWindows", _id, keys).ConfigureAwait(false); 171await module.InvokeVoidAsync("closeTerminalWindow", key).ConfigureAwait(false); 209await module.InvokeVoidAsync("unregisterTerminalWindowButton", _id).ConfigureAwait(false);
Microsoft.AspNetCore.Components.Platform (14)
CookieStore.cs (4)
129await cookieStore.InvokeVoidAsync("set", name, value).ConfigureAwait(false); 145await cookieStore.InvokeVoidAsync("set", options).ConfigureAwait(false); 161await cookieStore.InvokeVoidAsync("delete", name).ConfigureAwait(false); 177await cookieStore.InvokeVoidAsync("delete", options).ConfigureAwait(false);
EventListener.cs (2)
51await _target.InvokeVoidAsync("addEventListener", _type, _function); 125await _target.InvokeVoidAsync("removeEventListener", _type, function);
Storage.cs (3)
75await storage.InvokeVoidAsync("setItem", key, value).ConfigureAwait(false); 89await storage.InvokeVoidAsync("removeItem", key).ConfigureAwait(false); 99await storage.InvokeVoidAsync("clear").ConfigureAwait(false);
UrlSearchParams.cs (5)
58await reference.InvokeVoidAsync("append", name, value).ConfigureAwait(false); 72await reference.InvokeVoidAsync("delete", name).ConfigureAwait(false); 88await reference.InvokeVoidAsync("delete", name, value).ConfigureAwait(false); 166await reference.InvokeVoidAsync("set", name, value).ConfigureAwait(false); 176await reference.InvokeVoidAsync("sort").ConfigureAwait(false);
Microsoft.AspNetCore.Components.QuickGrid (2)
QuickGrid.razor.cs (2)
327_ = _jsModule?.InvokeVoidAsync("checkColumnOptionsPosition", _tableReference).AsTask(); 669await _jsEventDisposable.InvokeVoidAsync("stop");
Microsoft.AspNetCore.Components.Web (2)
JSComponents\JSComponentInterop.cs (2)
186() => jsObjectReference.InvokeVoidAsync(JSFunctionPropertyName).AsTask()); 194value => jsObjectReference.InvokeVoidAsync(JSFunctionPropertyName, value).AsTask());
Microsoft.AspNetCore.Components.WebView.Maui (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
174 await module.InvokeVoidAsync("notifyCssUpdated", matchPathSuffix);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
174 await module.InvokeVoidAsync("notifyCssUpdated", matchPathSuffix);
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
174 await module.InvokeVoidAsync("notifyCssUpdated", matchPathSuffix);