4 instantiations of AppHostProjectSelection
aspire (3)
Projects\LanguageService.cs (3)
132return new AppHostProjectSelection(_projectFactory.GetProject(language), ShouldPersistSelection: false); 139return new AppHostProjectSelection(configuredProject, ShouldPersistSelection: false); 152return new AppHostProjectSelection(selectedProject, ShouldPersistSelection: !saveLanguageSelection);
Aspire.Cli.Tests (1)
TestServices\TestLanguageService.cs (1)
73return new AppHostProjectSelection(project, ShouldPersistSelection: false);
6 references to AppHostProjectSelection
aspire (4)
Commands\InitCommand.cs (1)
120var projectSelection = await _languageService.GetOrPromptForProjectSelectionAsync(explicitLanguage, saveLanguageSelection: false, cancellationToken);
Projects\ILanguageService.cs (1)
49Task<AppHostProjectSelection> GetOrPromptForProjectSelectionAsync(string? explicitLanguageId = null, bool saveLanguageSelection = true, CancellationToken cancellationToken = default);
Projects\LanguageService.cs (2)
111var selection = await GetOrPromptForProjectSelectionAsync(explicitLanguageId, saveLanguageSelection, cancellationToken); 117public async Task<AppHostProjectSelection> GetOrPromptForProjectSelectionAsync(
Aspire.Cli.Tests (2)
TestServices\TestLanguageService.cs (2)
14public Func<string?, bool, CancellationToken, Task<AppHostProjectSelection>>? GetOrPromptForProjectSelectionAsyncCallback { get; set; } 65public async Task<AppHostProjectSelection> GetOrPromptForProjectSelectionAsync(string? explicitLanguageId = null, bool saveLanguageSelection = true, CancellationToken cancellationToken = default)