12 implementations of UseOrFindAppHostProjectFileAsync
aspire (1)
Projects\ProjectLocator.cs (1)
1192public async Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (11)
Commands\ExtensionInternalCommandTests.cs (4)
257public Task<FileInfo?> UseOrFindAppHostProjectFileAsync( 322public Task<FileInfo?> UseOrFindAppHostProjectFileAsync( 379public Task<FileInfo?> UseOrFindAppHostProjectFileAsync( 436public Task<FileInfo?> UseOrFindAppHostProjectFileAsync(
Commands\RunCommandTests.cs (4)
1260public Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken) 1940public Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken) 1965public Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken) 3494public Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
Commands\SecretCommandTests.cs (1)
98public Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\NoProjectFileProjectLocator.cs (1)
25public Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\TestProjectLocator.cs (1)
82public async Task<FileInfo?> UseOrFindAppHostProjectFileAsync(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
3 references to UseOrFindAppHostProjectFileAsync
aspire (3)
Commands\UpdateCommand.cs (2)
203projectFile = 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)"/>,