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)
172
if (
_terminalId
!= 0 && _appliedReadOnly != ReadOnly)
176
await _jsModule!.InvokeVoidAsync("setReadOnly",
_terminalId
, readOnly);
180
if (
_terminalId
!= 0 && _appliedAutoFit != AutoFit)
183
await _jsModule!.InvokeVoidAsync("setAutoFit",
_terminalId
, autoFit);
275
if (_jsModule is not null &&
_terminalId
!= 0)
277
var id =
_terminalId
;
296
if (
_terminalId
== 0)
304
"reconnectTerminal",
_terminalId
, BuildWebSocketUrl(newEndpoint), autoFit);
336
if (_disposed || (
_terminalId
!= 0 && state.TerminalId !=
_terminalId
) ||
337
(
_terminalId
== 0 && _initializationTask is not { IsCompleted: false }) ||
373
if (palette is null || _disposed || _jsModule is null ||
_terminalId
== 0)
379
if (!await _jsModule.InvokeAsync<bool>("setPaletteFromHost",
_terminalId
, palette))
430
if (_disposed || _jsModule is null ||
_terminalId
== 0)
436
await _jsModule.InvokeVoidAsync(method, [
_terminalId
, .. arguments]);
532
if (
_terminalId
!= 0)
536
await _jsModule.InvokeVoidAsync("disposeTerminal",
_terminalId
);