3 writes to _terminalId
Aspire.Dashboard (3)
Components\Controls\TerminalView.razor.cs (3)
239_terminalId = await _jsModule.InvokeAsync<int>( 278_terminalId = 0; 545_terminalId = 0;
17 references to _terminalId
Aspire.Dashboard (17)
Components\Controls\TerminalView.razor.cs (17)
172if (_terminalId != 0 && _appliedReadOnly != ReadOnly) 176await _jsModule!.InvokeVoidAsync("setReadOnly", _terminalId, readOnly); 180if (_terminalId != 0 && _appliedAutoFit != AutoFit) 183await _jsModule!.InvokeVoidAsync("setAutoFit", _terminalId, autoFit); 275if (_jsModule is not null && _terminalId != 0) 277var id = _terminalId; 296if (_terminalId == 0) 304"reconnectTerminal", _terminalId, BuildWebSocketUrl(newEndpoint), autoFit); 336if (_disposed || (_terminalId != 0 && state.TerminalId != _terminalId) || 337(_terminalId == 0 && _initializationTask is not { IsCompleted: false }) || 373if (palette is null || _disposed || _jsModule is null || _terminalId == 0) 379if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost", _terminalId, palette)) 430if (_disposed || _jsModule is null || _terminalId == 0) 436await _jsModule.InvokeVoidAsync(method, [_terminalId, .. arguments]); 532if (_terminalId != 0) 536await _jsModule.InvokeVoidAsync("disposeTerminal", _terminalId);