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)
129
backchannel.TerminalInfoResponse =
new
() { IsAvailable = false };
132
backchannel.TerminalInfoResponse =
new
()
169
return Task.FromResult(new
GetTerminalInfoResponse
227
return new
GetTerminalInfoResponse
272
backchannel.GetTerminalInfoHandler = (_, _) => Task.FromResult(new
GetTerminalInfoResponse
512
backchannel.TerminalInfoResponse =
new
()
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
362
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)
362
public
GetTerminalInfoResponse
TerminalInfoResponse { get; set; } = new GetTerminalInfoResponse { IsAvailable = false };
364
public Func<string, CancellationToken, Task<
GetTerminalInfoResponse
>>? GetTerminalInfoHandler { get; set; }
366
public Task<
GetTerminalInfoResponse
> GetTerminalInfoAsync(string resourceName, CancellationToken cancellationToken = default)