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)
672
private sealed class TestConfigurationService :
IConfigurationService
16 references to IConfigurationService
aspire (12)
Commands\ConfigCommand.cs (10)
19
private readonly
IConfigurationService
_configurationService;
22
public ConfigCommand(IConfiguration configuration,
IConfigurationService
configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
55
private readonly
IConfigurationService
_configurationService;
57
public GetCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
97
private readonly
IConfigurationService
_configurationService;
99
public SetCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
164
private readonly
IConfigurationService
_configurationService;
166
public ListCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
195
private readonly
IConfigurationService
_configurationService;
197
public DeleteCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Program.cs (1)
191
private static
IConfigurationService
BuildConfigurationService(IServiceProvider serviceProvider)
Projects\ProjectLocator.cs (1)
22
internal 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)
176
public Func<IServiceProvider,
IConfigurationService
> ConfigurationServiceFactory { get; set; }
178
public
IConfigurationService
CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider)
200
var
configurationService = serviceProvider.GetRequiredService<
IConfigurationService
>();