2 writes to _jsModule
Aspire.Dashboard (2)
Components\Controls\TerminalView.razor.cs (2)
215_jsModule ??= await JS.InvokeAsync<IJSObjectReference>("import", moduleUri.PathAndQuery); 513_jsModule = null;
15 references to _jsModule
Aspire.Dashboard (15)
Components\Controls\TerminalView.razor.cs (15)
163await _jsModule!.InvokeVoidAsync("setReadOnly", _terminalId, readOnly); 170await _jsModule!.InvokeVoidAsync("setAutoFit", _terminalId, autoFit); 226_terminalId = await _jsModule.InvokeAsync<int>( 261if (_jsModule is not null && _terminalId != 0) 266await _jsModule.InvokeVoidAsync("disposeTerminal", id); 287var generation = await _jsModule!.InvokeAsync<int>( 352if (palette is null || _disposed || _jsModule is null || _terminalId == 0) 358if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost", _terminalId, palette)) 387if (_jsModule is null) 393return await _jsModule.InvokeAsync<TerminalSizePreset[]>("getSizePresets"); 409if (_disposed || _jsModule is null || _terminalId == 0) 415await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 500if (_jsModule is not null) 506await _jsModule.InvokeVoidAsync("disposeTerminal", _terminalId); 512await JSInteropHelpers.SafeDisposeAsync(_jsModule);