6 implementations of FindAndStopRunningInstanceAsync
aspire (2)
Projects\DotNetAppHostProject.cs (1)
2466public async Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
Projects\GuestAppHostProject.cs (1)
1581public async Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
Aspire.Cli.Tests (4)
Commands\SecretCommandTests.cs (1)
124public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken) => throw new NotSupportedException();
Projects\ProjectLocatorTests.cs (1)
2231public Task<RunningInstanceResult> FindAndStopRunningInstanceAsync(FileInfo appHostFile, DirectoryInfo homeDirectory, CancellationToken cancellationToken)
TestServices\TestAppHostProjectFactory.cs (1)
244public 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)
371runningInstanceResult = await project.FindAndStopRunningInstanceAsync(
Commands\RunCommand.cs (1)
310runningInstanceResult = await project.FindAndStopRunningInstanceAsync(effectiveAppHostFile, ExecutionContext.HomeDirectory, cancellationToken);