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)
424public class TestConfigurationService : IConfigurationService
Projects\ProjectLocatorTests.cs (1)
623private sealed class TestConfigurationService : IConfigurationService
Templating\DotNetTemplateFactoryTests.cs (1)
353private sealed class FakeConfigurationService : IConfigurationService
TestServices\TrackingConfigurationService.cs (1)
11public sealed class TrackingConfigurationService : IConfigurationService
31 references to IConfigurationService
aspire (24)
Commands\BaseConfigSubCommand.cs (2)
11internal abstract class BaseConfigSubCommand(string name, string description, IFeatures features, ICliUpdateNotifier updateNotifier, IConfigurationService configurationService, CliExecutionContext executionContext, IInteractionService interactionService, AspireCliTelemetry telemetry) : BaseCommand(name, description, features, updateNotifier, executionContext, interactionService, telemetry) 13protected IConfigurationService ConfigurationService { get; } = configurationService;
Commands\ConfigCommand.cs (6)
24public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 74public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 132public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 199private sealed class ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 294public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 374public InfoCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\InitCommand.cs (2)
39private readonly IConfigurationService _configurationService; 82IConfigurationService configurationService,
Commands\UpdateCommand.cs (2)
35private readonly IConfigurationService _configurationService; 60IConfigurationService configurationService,
Program.cs (1)
441private static IConfigurationService BuildConfigurationService(IServiceProvider serviceProvider)
Projects\AppHostServerProject.cs (1)
30IConfigurationService configurationService,
Projects\DotNetBasedAppHostServerProject.cs (2)
64private readonly IConfigurationService _configurationService; 73IConfigurationService configurationService,
Projects\LanguageService.cs (2)
16private readonly IConfigurationService _configurationService; 22IConfigurationService configurationService,
Projects\PrebuiltAppHostServer.cs (2)
30private readonly IConfigurationService _configurationService; 53IConfigurationService configurationService,
Projects\ProjectLocator.cs (1)
26IConfigurationService configurationService,
Scaffolding\ScaffoldingService.cs (2)
23private readonly IConfigurationService _configurationService; 31IConfigurationService configurationService,
Templating\DotNetTemplateFactory.cs (1)
28IConfigurationService configurationService,
Aspire.Cli.Tests (7)
Projects\ProjectLocatorTests.cs (1)
961IConfigurationService? configurationService = null,
Utils\CliTestHelper.cs (6)
290public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 292public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 316var configurationService = serviceProvider.GetRequiredService<IConfigurationService>(); 445var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();