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