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)
164
if (
_terminalId
!= 0 && _appliedReadOnly != ReadOnly)
168
await _jsModule!.InvokeVoidAsync("setReadOnly",
_terminalId
, readOnly);
172
if (
_terminalId
!= 0 && _appliedAutoFit != AutoFit)
175
await _jsModule!.InvokeVoidAsync("setAutoFit",
_terminalId
, autoFit);
266
if (_jsModule is not null &&
_terminalId
!= 0)
268
var id =
_terminalId
;
287
if (
_terminalId
== 0)
295
"reconnectTerminal",
_terminalId
, BuildWebSocketUrl(newEndpoint), autoFit);
327
if (_disposed || (
_terminalId
!= 0 && state.TerminalId !=
_terminalId
) ||
328
(
_terminalId
== 0 && _initializationTask is not { IsCompleted: false }) ||
364
if (palette is null || _disposed || _jsModule is null ||
_terminalId
== 0)
370
if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost",
_terminalId
, palette))
421
if (_disposed || _jsModule is null ||
_terminalId
== 0)
427
await _jsModule.InvokeVoidAsync(method, [
_terminalId
, .. arguments]);
523
if (
_terminalId
!= 0)
527
await _jsModule.InvokeVoidAsync("disposeTerminal",
_terminalId
);