22 instantiations of GetTerminalInfoResponse
aspire (1)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
1077
return new
GetTerminalInfoResponse
{ IsAvailable = false };
Aspire.Cli.Tests (21)
Commands\TerminalCommandTests.cs (5)
126
backchannel.TerminalInfoResponse = new
GetTerminalInfoResponse
151
backchannel.TerminalInfoResponse = new
GetTerminalInfoResponse
202
backchannel.TerminalInfoResponse =
new
()
242
bc.TerminalInfoResponse = new
GetTerminalInfoResponse
285
backchannel.TerminalInfoResponse = new
GetTerminalInfoResponse
Commands\TerminalResourceResolverTests.cs (9)
60
return Task.FromResult(new
GetTerminalInfoResponse
{ IsAvailable = true, Replicas = [endpoint] });
86
TerminalInfoResponse =
new
() { IsAvailable = true, Replicas = reverse ? [selected, first] : [first, selected] }
114
return Task.FromResult(new
GetTerminalInfoResponse
{ IsAvailable = true, Replicas = [selected] });
150
return Task.FromResult(new
GetTerminalInfoResponse
180
TerminalInfoResponse =
new
()
216
TerminalInfoResponse =
new
()
255
TerminalInfoResponse =
new
()
282
TerminalInfoResponse =
new
()
308
TerminalInfoResponse =
new
()
Commands\TerminalTapePlayCommandTests.cs (6)
130
backchannel.TerminalInfoResponse =
new
() { IsAvailable = false };
138
backchannel.TerminalInfoResponse =
new
()
224
return Task.FromResult(new
GetTerminalInfoResponse
282
return new
GetTerminalInfoResponse
327
backchannel.GetTerminalInfoHandler = (_, _) => Task.FromResult(new
GetTerminalInfoResponse
569
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)
57
var
info = await interactionService.ShowStatusAsync(
Commands\TerminalTapePlayCommand.cs (1)
141
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)
855
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)