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)
159
if (
_terminalId
!= 0 && _appliedReadOnly != ReadOnly)
163
await _jsModule!.InvokeVoidAsync("setReadOnly",
_terminalId
, readOnly);
167
if (
_terminalId
!= 0 && _appliedAutoFit != AutoFit)
170
await _jsModule!.InvokeVoidAsync("setAutoFit",
_terminalId
, autoFit);
261
if (_jsModule is not null &&
_terminalId
!= 0)
263
var id =
_terminalId
;
281
if (
_terminalId
== 0)
288
"reconnectTerminal",
_terminalId
, BuildWebSocketUrl(newEndpoint));
319
if (_disposed || (
_terminalId
!= 0 && state.TerminalId !=
_terminalId
) ||
320
(
_terminalId
== 0 && _initializationTask is not { IsCompleted: false }) ||
352
if (palette is null || _disposed || _jsModule is null ||
_terminalId
== 0)
358
if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost",
_terminalId
, palette))
409
if (_disposed || _jsModule is null ||
_terminalId
== 0)
415
await _jsModule.InvokeVoidAsync(method, [
_terminalId
, .. arguments]);
502
if (
_terminalId
!= 0)
506
await _jsModule.InvokeVoidAsync("disposeTerminal",
_terminalId
);