12 implementations of UseOrFindAppHostProjectFileAsync
aspire (1)
Projects\ProjectLocator.cs (1)
1192
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (11)
Commands\ExtensionInternalCommandTests.cs (4)
257
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
322
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
379
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
436
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
Commands\RunCommandTests.cs (4)
1260
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
1940
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
1965
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
3494
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
Commands\SecretCommandTests.cs (1)
98
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\NoProjectFileProjectLocator.cs (1)
25
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\TestProjectLocator.cs (1)
82
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
3 references to UseOrFindAppHostProjectFileAsync
aspire (3)
Commands\UpdateCommand.cs (2)
203
projectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
208
?? await _projectLocator.
UseOrFindAppHostProjectFileAsync
(null, createSettingsFile: true, cancellationToken);
Projects\ProjectLocator.cs (1)
113
/// Unlike <see cref="
UseOrFindAppHostProjectFileAsync
(FileInfo?, bool, CancellationToken)"/>,