7 instantiations of ListTerminalsResponse
aspire (1)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
1062
return new
ListTerminalsResponse
{ Terminals = Array.Empty<TerminalSummary>() };
Aspire.Cli.Tests (6)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
127
var response = new
ListTerminalsResponse
Commands\TerminalCommandTests.cs (4)
339
backchannel.ListTerminalsResponse = new
ListTerminalsResponse
362
backchannel.ListTerminalsResponse = new
ListTerminalsResponse
414
backchannel.ListTerminalsResponse = new
ListTerminalsResponse
465
backchannel.ListTerminalsResponse = new
ListTerminalsResponse
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
362
public ListTerminalsResponse ListTerminalsResponse { get; set; } = new
ListTerminalsResponse
{ Terminals = Array.Empty<TerminalSummary>() };
17 references to ListTerminalsResponse
aspire (10)
Backchannel\AppHostAuxiliaryBackchannel.cs (3)
1058
public async Task<
ListTerminalsResponse
> ListTerminalsAsync(CancellationToken cancellationToken = default)
1071
var
response = await rpc.InvokeWithCancellationAsync<
ListTerminalsResponse
>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
109
[JsonSerializable(typeof(
ListTerminalsResponse
))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
207
Task<
ListTerminalsResponse
> ListTerminalsAsync(CancellationToken cancellationToken = default);
Commands\TerminalPsCommand.cs (4)
123
var
response = await _interactionService.ShowStatusAsync(
158
private void EmitJson(Aspire.Cli.Backchannel.
ListTerminalsResponse
response, bool verbose)
204
private void DisplayTable(Aspire.Cli.Backchannel.
ListTerminalsResponse
response, bool verbose)
262
private void DisplayPeerDetails(Aspire.Cli.Backchannel.
ListTerminalsResponse
response)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
1748
/// <see cref="
ListTerminalsResponse
.Terminals"/>. Replica details (current size, attached peers)
Aspire.Cli.Tests (7)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
88
var
response = await backchannel.ListTerminalsAsync().DefaultTimeout();
Backchannel\BackchannelJsonSerializerContextTests.cs (3)
127
var
response = new ListTerminalsResponse
160
var
roundTripped = JsonSerializer.Deserialize<
ListTerminalsResponse
>(json, options);
Commands\TerminalCommandTests.cs (1)
687
public Task<
ListTerminalsResponse
> ListTerminalsAsync(CancellationToken cancellationToken = default)
TestServices\TestAppHostAuxiliaryBackchannel.cs (2)
362
public
ListTerminalsResponse
ListTerminalsResponse { get; set; } = new ListTerminalsResponse { Terminals = Array.Empty<TerminalSummary>() };
364
public Task<
ListTerminalsResponse
> ListTerminalsAsync(CancellationToken cancellationToken = default)