13 instantiations of GetTerminalInfoResponse
aspire (1)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
1077
return new
GetTerminalInfoResponse
{ IsAvailable = false };
Aspire.Cli.Tests (12)
Commands\TerminalCommandTests.cs (5)
125
backchannel.TerminalInfoResponse = new
GetTerminalInfoResponse
150
backchannel.TerminalInfoResponse = new
GetTerminalInfoResponse
175
backchannel.TerminalInfoResponse = new
GetTerminalInfoResponse
225
bc.TerminalInfoResponse = new
GetTerminalInfoResponse
260
backchannel.TerminalInfoResponse = new
GetTerminalInfoResponse
Commands\TerminalTapePlayCommandTests.cs (6)
127
backchannel.TerminalInfoResponse =
new
() { IsAvailable = false };
130
backchannel.TerminalInfoResponse =
new
()
167
return Task.FromResult(new
GetTerminalInfoResponse
225
return new
GetTerminalInfoResponse
270
backchannel.GetTerminalInfoHandler = (_, _) => Task.FromResult(new
GetTerminalInfoResponse
510
backchannel.TerminalInfoResponse =
new
()
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
379
public GetTerminalInfoResponse TerminalInfoResponse { get; set; } = new
GetTerminalInfoResponse
{ IsAvailable = false };
15 references to GetTerminalInfoResponse
aspire (10)
Backchannel\AppHostAuxiliaryBackchannel.cs (3)
1069
public async Task<
GetTerminalInfoResponse
> GetTerminalInfoAsync(string resourceName, CancellationToken cancellationToken = default)
1086
var
response = await rpc.InvokeWithCancellationAsync<
GetTerminalInfoResponse
>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
104
[JsonSerializable(typeof(
GetTerminalInfoResponse
))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
197
Task<
GetTerminalInfoResponse
> GetTerminalInfoAsync(
Commands\TerminalResourceResolver.cs (1)
38
var
info = await interactionService.ShowStatusAsync(
Commands\TerminalTapePlayCommand.cs (1)
140
var
info = await connectionResult.Connection.GetTerminalInfoAsync(canonicalName, playback.Token).ConfigureAwait(false);
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (3)
56
/// <see cref="
GetTerminalInfoResponse
.Replicas"/> AND the per-resource list returned by
1599
/// <see cref="
GetTerminalInfoResponse
.Replicas"/> when the auxiliary backchannel reports
1652
/// primary peer. Falls back to <see cref="
GetTerminalInfoResponse
.Columns"/> when no peer has
Aspire.Cli.Tests (5)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
73
var
response = await backchannel.GetTerminalInfoAsync("frontend").DefaultTimeout();
Commands\TerminalCommandTests.cs (1)
828
public Task<
GetTerminalInfoResponse
> GetTerminalInfoAsync(string resourceName, CancellationToken cancellationToken = default)
TestServices\TestAppHostAuxiliaryBackchannel.cs (3)
379
public
GetTerminalInfoResponse
TerminalInfoResponse { get; set; } = new GetTerminalInfoResponse { IsAvailable = false };
381
public Func<string, CancellationToken, Task<
GetTerminalInfoResponse
>>? GetTerminalInfoHandler { get; set; }
383
public Task<
GetTerminalInfoResponse
> GetTerminalInfoAsync(string resourceName, CancellationToken cancellationToken = default)