2 writes to _jsModule
Aspire.Dashboard (2)
Components\Controls\TerminalView.razor.cs (2)
220_jsModule ??= await JS.InvokeAsync<IJSObjectReference>("import", moduleUri.PathAndQuery); 534_jsModule = null;
15 references to _jsModule
Aspire.Dashboard (15)
Components\Controls\TerminalView.razor.cs (15)
168await _jsModule!.InvokeVoidAsync("setReadOnly", _terminalId, readOnly); 175await _jsModule!.InvokeVoidAsync("setAutoFit", _terminalId, autoFit); 231_terminalId = await _jsModule.InvokeAsync<int>( 266if (_jsModule is not null && _terminalId != 0) 271await _jsModule.InvokeVoidAsync("disposeTerminal", id); 294var generation = await _jsModule!.InvokeAsync<int>( 364if (palette is null || _disposed || _jsModule is null || _terminalId == 0) 370if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost", _terminalId, palette)) 399if (_jsModule is null) 405return await _jsModule.InvokeAsync<TerminalSizePreset[]>("getSizePresets"); 421if (_disposed || _jsModule is null || _terminalId == 0) 427await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 521if (_jsModule is not null) 527await _jsModule.InvokeVoidAsync("disposeTerminal", _terminalId); 533await JSInteropHelpers.SafeDisposeAsync(_jsModule);