2 writes to Connection
aspire (2)
Backchannel\AppHostConnectionResolver.cs (2)
71
return new AppHostConnectionResult {
Connection
= connection };
162
return new AppHostConnectionResult {
Connection
= selectedConnection };
11 references to Connection
aspire (11)
Backchannel\AppHostConnectionResolver.cs (2)
18
[MemberNotNullWhen(true, nameof(
Connection
))]
19
public bool Success =>
Connection
is not null;
Commands\LogsCommand.cs (2)
176
return await ExecuteWatchAsync(result.
Connection
!, resourceName, format, tail, cancellationToken);
180
return await ExecuteGetAsync(result.
Connection
!, resourceName, format, tail, cancellationToken);
Commands\ResourceCommand.cs (1)
76
result.
Connection
!,
Commands\ResourceCommandBase.cs (1)
99
result.
Connection
!,
Commands\ResourcesCommand.cs (2)
139
return await ExecuteWatchAsync(result.
Connection
!, resourceName, format, cancellationToken);
143
return await ExecuteSnapshotAsync(result.
Connection
!, resourceName, format, cancellationToken);
Commands\StopCommand.cs (1)
75
var selectedConnection = result.
Connection
!;
Commands\TelemetryCommandHelpers.cs (1)
129
var dashboardInfo = await result.
Connection
!.GetDashboardInfoV2Async(cancellationToken);
Commands\WaitCommand.cs (1)
105
var connection = result.
Connection
!;