3 implementations of IConfigurationService
aspire (1)
Configuration\ConfigurationService.cs (1)
11
internal sealed class ConfigurationService(IConfiguration configuration, CliExecutionContext executionContext, FileInfo globalSettingsFile) :
IConfigurationService
Aspire.Cli.Tests (2)
Commands\ConfigCommandTests.cs (1)
422
public class TestConfigurationService :
IConfigurationService
Projects\ProjectLocatorTests.cs (1)
673
private sealed class TestConfigurationService :
IConfigurationService
13 references to IConfigurationService
aspire (9)
Commands\BaseConfigSubCommand.cs (2)
10
internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier,
IConfigurationService
configurationService, CliExecutionContext executionContext, IInteractionService interactionService) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService)
12
protected
IConfigurationService
ConfigurationService { get; } = configurationService;
Commands\ConfigCommand.cs (5)
23
public ConfigCommand(IConfiguration configuration,
IConfigurationService
configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
71
public GetCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
120
public SetCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
199
private sealed class ListCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
237
public DeleteCommand(
IConfigurationService
configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Program.cs (1)
204
private static
IConfigurationService
BuildConfigurationService(IServiceProvider serviceProvider)
Projects\ProjectLocator.cs (1)
23
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)
185
public Func<IServiceProvider,
IConfigurationService
> ConfigurationServiceFactory { get; set; }
187
public
IConfigurationService
CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider)
210
var
configurationService = serviceProvider.GetRequiredService<
IConfigurationService
>();