3 writes to _terminalId
Aspire.Dashboard (3)
Components\Controls\TerminalView.razor.cs (3)
231_terminalId = await _jsModule.InvokeAsync<int>( 269_terminalId = 0; 536_terminalId = 0;
17 references to _terminalId
Aspire.Dashboard (17)
Components\Controls\TerminalView.razor.cs (17)
164if (_terminalId != 0 && _appliedReadOnly != ReadOnly) 168await _jsModule!.InvokeVoidAsync("setReadOnly", _terminalId, readOnly); 172if (_terminalId != 0 && _appliedAutoFit != AutoFit) 175await _jsModule!.InvokeVoidAsync("setAutoFit", _terminalId, autoFit); 266if (_jsModule is not null && _terminalId != 0) 268var id = _terminalId; 287if (_terminalId == 0) 295"reconnectTerminal", _terminalId, BuildWebSocketUrl(newEndpoint), autoFit); 327if (_disposed || (_terminalId != 0 && state.TerminalId != _terminalId) || 328(_terminalId == 0 && _initializationTask is not { IsCompleted: false }) || 364if (palette is null || _disposed || _jsModule is null || _terminalId == 0) 370if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost", _terminalId, palette)) 421if (_disposed || _jsModule is null || _terminalId == 0) 427await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 523if (_terminalId != 0) 527await _jsModule.InvokeVoidAsync("disposeTerminal", _terminalId);