6 implementations of FindAndStopRunningInstanceAsync
aspire (2)
Projects\DotNetAppHostProject.cs (1)
2532public async Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
Projects\GuestAppHostProject.cs (1)
2045public async Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
Aspire.Cli.Tests (4)
Commands\SecretCommandTests.cs (1)
456public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken) => throw new NotSupportedException();
Projects\ProjectLocatorTests.cs (1)
2295public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
TestServices\TestAppHostProjectFactory.cs (1)
236public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
TestServices\TestTypeScriptStarterProjectFactory.cs (1)
107public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
2 references to FindAndStopRunningInstanceAsync
aspire (2)
Commands\AddCommand.cs (1)
400runningInstanceResult = await project.FindAndStopRunningInstanceAsync(
Commands\RunCommand.cs (1)
342runningInstanceResult = await project.FindAndStopRunningInstanceAsync(effectiveAppHostFile, ExecutionContext.HomeDirectory, cancellationToken);