15 implementations of UseOrFindAppHostProjectFileAsync
aspire (1)
Projects\ProjectLocator.cs (1)
401
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (14)
Commands\ExecCommandTests.cs (3)
176
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
191
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
206
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
Commands\ExtensionInternalCommandTests.cs (4)
211
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
266
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
313
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
360
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
Commands\RunCommandTests.cs (4)
172
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
227
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
242
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
1271
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
Commands\SecretCommandTests.cs (1)
88
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\NoProjectFileProjectLocator.cs (1)
15
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\TestProjectLocator.cs (1)
17
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
2 references to UseOrFindAppHostProjectFileAsync
aspire (2)
Commands\ExecCommand.cs (1)
123
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
Commands\UpdateCommand.cs (1)
146
var projectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);