9 implementations of UseOrFindAppHostProjectFileAsync
aspire (1)
Projects\ProjectLocator.cs (1)
213
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (8)
Commands\ExecCommandTests.cs (3)
169
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
182
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
199
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
Commands\RunCommandTests.cs (3)
88
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
141
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
154
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
TestServices\NoProjectFileProjectLocator.cs (1)
10
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
TestServices\TestProjectLocator.cs (1)
14
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, CancellationToken cancellationToken)
5 references to UseOrFindAppHostProjectFileAsync
aspire (5)
Commands\AddCommand.cs (1)
81
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, cancellationToken);
Commands\ExecCommand.cs (1)
133
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, cancellationToken);
Commands\PublishCommandBase.cs (1)
94
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, cancellationToken);
Commands\RunCommand.cs (1)
100
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, cancellationToken);
Commands\UpdateCommand.cs (1)
36
var projectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(null, cancellationToken);