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)
317private sealed class TestConfigurationService : IConfigurationService
18 references to IConfigurationService
aspire (14)
Commands\ConfigCommand.cs (10)
18private readonly IConfigurationService _configurationService; 21public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 53private readonly IConfigurationService _configurationService; 56public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 97private readonly IConfigurationService _configurationService; 100public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 166private readonly IConfigurationService _configurationService; 169public ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier) 199private readonly IConfigurationService _configurationService; 202public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier)
Program.cs (3)
129private static IConfigurationService BuildConfigurationService(IServiceProvider serviceProvider) 162var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();
Projects\ProjectLocator.cs (1)
20internal 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)
155public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 157public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 176var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();