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)
396private sealed class FakeConfigurationService : IConfigurationService
TestServices\TrackingConfigurationService.cs (1)
11public sealed class TrackingConfigurationService : IConfigurationService
34 references to IConfigurationService
aspire (27)
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)
26public ConfigCommand(IConfiguration configuration, IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 76public GetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 134public SetCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 201private sealed class ListCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 331public DeleteCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry) 411public InfoCommand(IConfigurationService configurationService, IInteractionService interactionService, IFeatures features, ICliUpdateNotifier updateNotifier, CliExecutionContext executionContext, AspireCliTelemetry telemetry)
Commands\InitCommand.cs (2)
38private readonly IConfigurationService _configurationService; 80IConfigurationService configurationService,
Commands\NewCommand.cs (2)
28private readonly IConfigurationService _configurationService; 73IConfigurationService configurationService)
Commands\UpdateCommand.cs (2)
32private readonly IConfigurationService _configurationService; 52IConfigurationService configurationService,
Program.cs (1)
472private static IConfigurationService BuildConfigurationService(IServiceProvider serviceProvider)
Projects\AppHostServerProject.cs (1)
31IConfigurationService 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)
27IConfigurationService configurationService,
Scaffolding\ScaffoldingService.cs (2)
23private readonly IConfigurationService _configurationService; 31IConfigurationService configurationService,
Templating\DotNetTemplateFactory.cs (1)
31IConfigurationService configurationService,
Templating\TemplateNuGetConfigService.cs (1)
17IConfigurationService configurationService)
Aspire.Cli.Tests (7)
Projects\ProjectLocatorTests.cs (1)
961IConfigurationService? configurationService = null,
Utils\CliTestHelper.cs (6)
313public Func<IServiceProvider, IConfigurationService> ConfigurationServiceFactory { get; set; } 315public IConfigurationService CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider) 339var configurationService = serviceProvider.GetRequiredService<IConfigurationService>(); 468var configurationService = serviceProvider.GetRequiredService<IConfigurationService>();