3 writes to _terminalId
Aspire.Dashboard (3)
Components\Controls\TerminalView.razor.cs (3)
226_terminalId = await _jsModule.InvokeAsync<int>( 264_terminalId = 0; 515_terminalId = 0;
17 references to _terminalId
Aspire.Dashboard (17)
Components\Controls\TerminalView.razor.cs (17)
159if (_terminalId != 0 && _appliedReadOnly != ReadOnly) 163await _jsModule!.InvokeVoidAsync("setReadOnly", _terminalId, readOnly); 167if (_terminalId != 0 && _appliedAutoFit != AutoFit) 170await _jsModule!.InvokeVoidAsync("setAutoFit", _terminalId, autoFit); 261if (_jsModule is not null && _terminalId != 0) 263var id = _terminalId; 281if (_terminalId == 0) 288"reconnectTerminal", _terminalId, BuildWebSocketUrl(newEndpoint)); 319if (_disposed || (_terminalId != 0 && state.TerminalId != _terminalId) || 320(_terminalId == 0 && _initializationTask is not { IsCompleted: false }) || 352if (palette is null || _disposed || _jsModule is null || _terminalId == 0) 358if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost", _terminalId, palette)) 409if (_disposed || _jsModule is null || _terminalId == 0) 415await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 502if (_terminalId != 0) 506await _jsModule.InvokeVoidAsync("disposeTerminal", _terminalId);