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