75 references to InvokeVoidAsync
Aspire.Dashboard (54)
Components\Controls\ApplicationSummary.razor.cs (3)
255await _jsModule.InvokeVoidAsync("initializeResourcesGraph", _resourcesInteropReference, graphIcons, ResourceLayout is not null); 720await _jsModule.InvokeVoidAsync("updateResourcesGraphContextMenu", open); 747await _jsModule.InvokeVoidAsync("updateResourcesGraph", GetResourceGraphResources());
Components\Controls\Chart\MeterOverview.razor.cs (1)
126await 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); 435await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 535await _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)
414await _jsModule.InvokeVoidAsync("showPicker", _datePickerInput);
Components\Dialogs\InteractionsInputDialog.razor.cs (1)
366await _jsModule.InvokeVoidAsync("togglePasswordVisibility", element.Id);
Components\Layout\ResourcesLayout.razor.cs (17)
634await _jsModule.InvokeVoidAsync("setResourcePickerOpen", _layoutElement, _selfRef, _isResourcePickerOpen); 644await _jsModule.InvokeVoidAsync("registerTabOverflow", _tabOverflowRegistrationId, _selfRef); 670await _jsModule.InvokeVoidAsync("registerPaneResizer", _layoutElement, _selfRef, MinimumPaneWidthPx, MaximumPaneWidthPx, DefaultPaneWidthPx); 674await _jsModule.InvokeVoidAsync("unregisterPaneResizer", _layoutElement); 682await _jsModule.InvokeVoidAsync("startPaneSelectionReveal", _layoutElement, _selfRef, startLocation); 689await _jsModule.InvokeVoidAsync("focusPaneSelectionReveal", _layoutElement, focusLocation); 700await jsModule.InvokeVoidAsync("registerResourceOrdering", _layoutElement, _selfRef); 701await jsModule.InvokeVoidAsync("registerResourceContextMenu", _layoutElement, _selfRef); 702await jsModule.InvokeVoidAsync("registerPaneActivityVisibility", _layoutElement, _selfRef); 838await module.InvokeVoidAsync("restoreResourceContextMenuFocus", _layoutElement); 3105await module.InvokeVoidAsync("unregisterPaneResizer", _layoutElement); 3106await module.InvokeVoidAsync("unregisterResourceOrdering", _layoutElement); 3107await module.InvokeVoidAsync("unregisterResourceContextMenu", _layoutElement); 3108await module.InvokeVoidAsync("unregisterPaneActivityVisibility", _layoutElement); 3109await module.InvokeVoidAsync("unregisterResourcePicker", _layoutElement); 3110await module.InvokeVoidAsync("cancelPaneSelectionReveal", _layoutElement); 3111await 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)
398await _jsModule.InvokeVoidAsync("initializeResourcesGraph", _resourcesInteropReference, graphIcons, false); 438await _jsModule.InvokeVoidAsync(identifier, args);
Components\Legacy\Pages\TerminalWindow.razor.cs (1)
239await module.InvokeVoidAsync(release ? "releaseDetachedTerminalWindow" : "unregisterDetachedTerminalWindow", id);
Components\Pages\Metrics.razor.cs (1)
956await _jsModule.InvokeVoidAsync("unregisterMetricsSplitter", _metricsSplitterElement);
Components\Pages\Resources.razor.cs (2)
418await _jsModule.InvokeVoidAsync("initializeResourcesGraph", _resourcesInteropReference, graphIcons, ResourceLayout is not null); 458await _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);