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