2 implementations of IConfigurationService
aspire (1)
Configuration\ConfigurationService.cs (1)
11internal sealed class ConfigurationService(IConfiguration configuration, DirectoryInfo currentDirectory, FileInfo globalSettingsFile) : IConfigurationService
Aspire.Cli.Tests (1)
Projects\ProjectLocatorTests.cs (1)
314private sealed class TestConfigurationService : IConfigurationService
18 references to IConfigurationService
aspire (14)
Commands\ConfigCommand.cs (10)
19private readonly IConfigurationService _configurationService; 23public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier) 57private readonly IConfigurationService _configurationService; 60public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 101private readonly IConfigurationService _configurationService; 104public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 170private readonly IConfigurationService _configurationService; 173public ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 203private readonly IConfigurationService _configurationService; 206public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier)
Program.cs (3)
135private static IConfigurationService BuildConfigurationService(IServiceProvider serviceProvider) 168var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();
Projects\ProjectLocator.cs (1)
21internal sealed class ProjectLocator(ILogger<ProjectLocator> logger, IDotNetCliRunner runner, DirectoryInfo currentDirectory, IInteractionService interactionService, IConfigurationService configurationService, AspireCliTelemetry telemetry) : IProjectLocator
Aspire.Cli.Tests (4)
Utils\CliTestHelper.cs (4)
159public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 161public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 180var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();