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)
1159public class TestConfigurationService : IConfigurationService
Projects\ProjectLocatorTests.cs (1)
2160private sealed class TestConfigurationService(CliExecutionContext executionContext) : IConfigurationService
TestServices\TestConfigurationService.cs (1)
11public sealed class TestConfigurationService : IConfigurationService
38 references to IConfigurationService
aspire (19)
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; 73IConfigurationService configurationService,
Program.cs (1)
465builder.Services.AddSingleton<IConfigurationService>(sp => new ConfigurationService(
Projects\AppHostConfigurationProjector.cs (1)
12internal sealed class AppHostConfigurationProjector(IConfigurationService configurationService, IEnvironment environment)
Projects\DotNetAppHostProject.cs (2)
52private readonly IConfigurationService _configurationService; 94IConfigurationService configurationService,
Projects\LanguageService.cs (2)
16private readonly IConfigurationService _configurationService; 22IConfigurationService configurationService,
Projects\ProjectLocator.cs (1)
143IConfigurationService configurationService,
Aspire.Cli.Tests (19)
Caching\AppHostInfoDiskCacheTests.cs (1)
17private static AppHostInfoDiskCache CreateCache(TemporaryWorkspace workspace, IConfigurationService? configurationService = null)
Commands\ConfigCommandTests.cs (9)
155var configurationService = provider.GetRequiredService<IConfigurationService>(); 188var configurationService = provider.GetRequiredService<IConfigurationService>(); 823var configurationService = reloadedProvider.GetRequiredService<IConfigurationService>(); 1071var settingsPath = provider.GetRequiredService<IConfigurationService>().GetSettingsFilePath(isGlobal: true); 1095var settingsPath = provider.GetRequiredService<IConfigurationService>().GetSettingsFilePath(isGlobal: true); 1153var settingsPath = provider.GetRequiredService<IConfigurationService>().GetSettingsFilePath(isGlobal: false);
Commands\InitCommandTests.cs (1)
1639/// 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)
4253IConfigurationService? configurationService = null,
Utils\CliTestHelper.cs (6)
461public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 463public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 488var configurationService = serviceProvider.GetRequiredService<IConfigurationService>(); 649var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();