5 implementations of IConfigurationService
aspire (1)
Configuration\ConfigurationService.cs (1)
11internal sealed class ConfigurationService(IConfiguration configuration, CliExecutionContext executionContext, FileInfo globalSettingsFile) : IConfigurationService
Aspire.Cli.Tests (4)
Commands\ConfigCommandTests.cs (1)
423public class TestConfigurationService : IConfigurationService
Projects\ProjectLocatorTests.cs (1)
709private sealed class TestConfigurationService : IConfigurationService
Templating\DotNetTemplateFactoryTests.cs (1)
349private sealed class FakeConfigurationService : IConfigurationService
TestServices\TrackingConfigurationService.cs (1)
11public sealed class TrackingConfigurationService : IConfigurationService
20 references to IConfigurationService
aspire (14)
Commands\BaseConfigSubCommand.cs (2)
10internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, IConfigurationService configurationService, CliExecutionContext executionContext, IInteractionService interactionService) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService) 12protected IConfigurationService ConfigurationService { get; } = configurationService;
Commands\ConfigCommand.cs (5)
23public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IDotNetSdkInstaller sdkInstaller, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 71public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 120public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 199private sealed class ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext) 237public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext)
Commands\InitCommand.cs (2)
38private readonly IConfigurationService _configurationService; 63IConfigurationService configurationService)
Commands\UpdateCommand.cs (2)
30private readonly IConfigurationService _configurationService; 42IConfigurationService configurationService)
Program.cs (1)
273private static IConfigurationService BuildConfigurationService(IServiceProvider serviceProvider)
Projects\ProjectLocator.cs (1)
24internal sealed class ProjectLocator(ILogger<ProjectLocator> logger, IDotNetCliRunner runner, CliExecutionContext executionContext, IInteractionService interactionService, IConfigurationService configurationService, AspireCliTelemetry telemetry) : IProjectLocator
Templating\DotNetTemplateFactory.cs (1)
28IConfigurationService configurationService)
Aspire.Cli.Tests (6)
Utils\CliTestHelper.cs (6)
195public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 197public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 220var configurationService = serviceProvider.GetRequiredService<IConfigurationService>(); 333var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();