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