4 implementations of IConfigurationService
aspire (1)
Configuration\ConfigurationService.cs (1)
15internal sealed class ConfigurationService(IConfiguration configuration, CliExecutionContext executionContext, FileInfo globalSettingsFile, ILogger<ConfigurationService> logger) : IConfigurationService
Aspire.Cli.Tests (3)
Commands\ConfigCommandTests.cs (1)
1024public class TestConfigurationService : IConfigurationService
Projects\ProjectLocatorTests.cs (1)
2098private sealed class TestConfigurationService(CliExecutionContext executionContext) : IConfigurationService
TestServices\TestConfigurationService.cs (1)
11public sealed class TestConfigurationService : IConfigurationService
33 references to IConfigurationService
aspire (18)
Caching\AppHostInfoDiskCache.cs (2)
110private readonly IConfigurationService _configurationService; 113public AppHostInfoDiskCache(ILogger<AppHostInfoDiskCache> logger, CliExecutionContext executionContext, IConfigurationService configurationService, IEnvironment environment)
Commands\BaseConfigSubCommand.cs (2)
8internal abstract class BaseConfigSubCommand(string name, string description, IConfigurationService configurationService, CommonCommandServices services) : BaseCommand(name, description, services) 10protected IConfigurationService ConfigurationService { get; } = configurationService;
Commands\ConfigCommand.cs (6)
23public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, CommonCommandServices services) 69public GetCommand(IConfigurationService configurationService, CommonCommandServices services) 124public SetCommand(IConfigurationService configurationService, CommonCommandServices services) 206public ListCommand(IConfigurationService configurationService, CommonCommandServices services) 362public DeleteCommand(IConfigurationService configurationService, CommonCommandServices services) 439public InfoCommand(IConfigurationService configurationService, CommonCommandServices services)
Commands\UpdateCommand.cs (2)
39private readonly IConfigurationService _configurationService; 72IConfigurationService configurationService,
Program.cs (1)
801private static IConfigurationService BuildConfigurationService(IServiceProvider serviceProvider)
Projects\DotNetAppHostProject.cs (2)
49private readonly IConfigurationService _configurationService; 89IConfigurationService configurationService,
Projects\LanguageService.cs (2)
16private readonly IConfigurationService _configurationService; 22IConfigurationService configurationService,
Projects\ProjectLocator.cs (1)
143IConfigurationService configurationService,
Aspire.Cli.Tests (15)
Caching\AppHostInfoDiskCacheTests.cs (1)
17private static AppHostInfoDiskCache CreateCache(TemporaryWorkspace workspace, IConfigurationService? configurationService = null)
Commands\ConfigCommandTests.cs (5)
148var configurationService = provider.GetRequiredService<IConfigurationService>(); 936var settingsPath = provider.GetRequiredService<IConfigurationService>().GetSettingsFilePath(isGlobal: true); 960var settingsPath = provider.GetRequiredService<IConfigurationService>().GetSettingsFilePath(isGlobal: true); 1018var settingsPath = provider.GetRequiredService<IConfigurationService>().GetSettingsFilePath(isGlobal: false);
Commands\InitCommandTests.cs (1)
1458/// the global <see cref="IConfigurationService"/>. The injected configuration service throws
Commands\NewCommandChannelResolutionTests.cs (1)
32/// the global <see cref="IConfigurationService"/>. The injected configuration service
Projects\ProjectLocatorTests.cs (1)
4161IConfigurationService? configurationService = null,
Utils\CliTestHelper.cs (6)
443public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 445public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 470var configurationService = serviceProvider.GetRequiredService<IConfigurationService>(); 628var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();