2 implementations of IConfigurationService
aspire (1)
Configuration\ConfigurationService.cs (1)
11internal sealed class ConfigurationService(IConfiguration configuration, CliExecutionContext executionContext, FileInfo globalSettingsFile) : IConfigurationService
Aspire.Cli.Tests (1)
Projects\ProjectLocatorTests.cs (1)
672private sealed class TestConfigurationService : IConfigurationService
16 references to IConfigurationService
aspire (12)
Commands\ConfigCommand.cs (10)
19private readonly IConfigurationService _configurationService; 22public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 55private readonly IConfigurationService _configurationService; 57public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 97private readonly IConfigurationService _configurationService; 99public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 164private readonly IConfigurationService _configurationService; 166public ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 195private readonly IConfigurationService _configurationService; 197public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Program.cs (1)
191private static IConfigurationService BuildConfigurationService(IServiceProvider serviceProvider)
Projects\ProjectLocator.cs (1)
22internal sealed class ProjectLocator(ILogger<ProjectLocator> logger, IDotNetCliRunner runner, CliExecutionContext executionContext, IInteractionService interactionService, IConfigurationService configurationService, AspireCliTelemetry telemetry, IFeatures features) : IProjectLocator
Aspire.Cli.Tests (4)
Utils\CliTestHelper.cs (4)
176public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 178public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 200var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();