2 writes to _jsModule
Aspire.Dashboard (2)
Components\Controls\TerminalView.razor.cs (2)
228_jsModule ??= await JS.InvokeAsync<IJSObjectReference>("import", moduleUri.PathAndQuery); 543_jsModule = null;
15 references to _jsModule
Aspire.Dashboard (15)
Components\Controls\TerminalView.razor.cs (15)
176await _jsModule!.InvokeVoidAsync("setReadOnly", _terminalId, readOnly); 183await _jsModule!.InvokeVoidAsync("setAutoFit", _terminalId, autoFit); 239_terminalId = await _jsModule.InvokeAsync<int>( 275if (_jsModule is not null && _terminalId != 0) 280await _jsModule.InvokeVoidAsync("disposeTerminal", id); 303var generation = await _jsModule!.InvokeAsync<int>( 373if (palette is null || _disposed || _jsModule is null || _terminalId == 0) 379if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost", _terminalId, palette)) 408if (_jsModule is null) 414return await _jsModule.InvokeAsync<TerminalSizePreset[]>("getSizePresets"); 430if (_disposed || _jsModule is null || _terminalId == 0) 436await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 530if (_jsModule is not null) 536await _jsModule.InvokeVoidAsync("disposeTerminal", _terminalId); 542await JSInteropHelpers.SafeDisposeAsync(_jsModule);