5 implementations of FindAndStopRunningInstanceAsync
aspire (2)
Projects\DotNetAppHostProject.cs (1)
502public async Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
Projects\GuestAppHostProject.cs (1)
1158public async Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
Aspire.Cli.Tests (3)
Commands\NewCommandTests.cs (1)
1751public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
Commands\SecretCommandTests.cs (1)
113public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken) => throw new NotSupportedException();
TestServices\TestAppHostProjectFactory.cs (1)
182public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
2 references to FindAndStopRunningInstanceAsync
aspire (2)
Commands\AddCommand.cs (1)
222var runningInstanceResult = await project.FindAndStopRunningInstanceAsync(
Commands\RunCommand.cs (1)
202var runningInstanceResult = await project.FindAndStopRunningInstanceAsync(effectiveAppHostFile, ExecutionContext.HomeDirectory, cancellationToken);