14 implementations of UseOrFindAppHostProjectFileAsync
aspire (1)
Projects\ProjectLocator.cs (1)
295
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (13)
Commands\ExecCommandTests.cs (3)
175
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
188
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
201
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
Commands\ExtensionInternalCommandTests.cs (4)
213
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
266
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
311
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
356
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
Commands\RunCommandTests.cs (4)
98
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
151
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
164
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
1156
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)
14
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
2 references to UseOrFindAppHostProjectFileAsync
aspire (2)
Commands\ExecCommand.cs (1)
139
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
Commands\UpdateCommand.cs (1)
145
var projectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);