10 instantiations of ListTerminalsResponse
aspire (1)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
1107return new ListTerminalsResponse { ResourceTerminals = [], AppHostTerminals = [] };
Aspire.Cli.Tests (9)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
145var response = new ListTerminalsResponse
Commands\TerminalCommandTests.cs (7)
340backchannel.ListTerminalsResponse = new ListTerminalsResponse 364backchannel.ListTerminalsResponse = new ListTerminalsResponse 417backchannel.ListTerminalsResponse = new ListTerminalsResponse 469backchannel.ListTerminalsResponse = new ListTerminalsResponse 636backchannel.ListTerminalsResponse = new ListTerminalsResponse 700backchannel.ListTerminalsResponse = new ListTerminalsResponse 762backchannel.ListTerminalsResponse = new ListTerminalsResponse
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
380public ListTerminalsResponse ListTerminalsResponse { get; set; } = new ListTerminalsResponse { ResourceTerminals = [], AppHostTerminals = [] };
21 references to ListTerminalsResponse
aspire (11)
Backchannel\AppHostAuxiliaryBackchannel.cs (3)
1103public async Task<ListTerminalsResponse> ListTerminalsAsync(CancellationToken cancellationToken = default) 1116var response = await rpc.InvokeWithCancellationAsync<ListTerminalsResponse>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
110[JsonSerializable(typeof(ListTerminalsResponse))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
208Task<ListTerminalsResponse> ListTerminalsAsync(CancellationToken cancellationToken = default);
Commands\TerminalPsCommand.cs (5)
124var response = await _interactionService.ShowStatusAsync( 160private void EmitJson(Aspire.Cli.Backchannel.ListTerminalsResponse response, bool verbose) 218private void DisplayTable(Aspire.Cli.Backchannel.ListTerminalsResponse response, bool verbose) 279private void DisplayResourceTerminals(Aspire.Cli.Backchannel.ListTerminalsResponse response) 336private void DisplayPeerDetails(Aspire.Cli.Backchannel.ListTerminalsResponse response)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
1748/// <see cref="ListTerminalsResponse.ResourceTerminals"/>. Replica details (current size, attached peers)
Aspire.Cli.Tests (10)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
89var response = await backchannel.ListTerminalsAsync().DefaultTimeout();
Backchannel\BackchannelJsonSerializerContextTests.cs (6)
145var response = new ListTerminalsResponse 187var roundTripped = JsonSerializer.Deserialize<ListTerminalsResponse>(json, options); 224Assert.Throws<JsonException>(() => JsonSerializer.Deserialize<ListTerminalsResponse>(json, options)); 231var response = JsonSerializer.Deserialize<ListTerminalsResponse>(
Commands\TerminalCommandTests.cs (1)
834public Task<ListTerminalsResponse> ListTerminalsAsync(CancellationToken cancellationToken = default)
TestServices\TestAppHostAuxiliaryBackchannel.cs (2)
380public ListTerminalsResponse ListTerminalsResponse { get; set; } = new ListTerminalsResponse { ResourceTerminals = [], AppHostTerminals = [] }; 382public Task<ListTerminalsResponse> ListTerminalsAsync(CancellationToken cancellationToken = default)