5 implementations of IConfigurationService
aspire (1)
Configuration\ConfigurationService.cs (1)
11
internal sealed class ConfigurationService(IConfiguration configuration, CliExecutionContext executionContext, FileInfo globalSettingsFile) :
IConfigurationService
Aspire.Cli.Tests (4)
Commands\ConfigCommandTests.cs (1)
423
public class TestConfigurationService :
IConfigurationService
Projects\ProjectLocatorTests.cs (1)
666
private sealed class TestConfigurationService :
IConfigurationService
Templating\DotNetTemplateFactoryTests.cs (1)
349
private sealed class FakeConfigurationService :
IConfigurationService
TestServices\TrackingConfigurationService.cs (1)
11
public sealed class TrackingConfigurationService :
IConfigurationService
27 references to IConfigurationService
aspire (21)
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)
Commands\InitCommand.cs (2)
39
private readonly
IConfigurationService
_configurationService;
68
IConfigurationService
configurationService,
Commands\UpdateCommand.cs (2)
31
private readonly
IConfigurationService
_configurationService;
43
IConfigurationService
configurationService)
Program.cs (1)
305
private static
IConfigurationService
BuildConfigurationService(IServiceProvider serviceProvider)
Projects\AppHostServerProject.cs (3)
31
IConfigurationService
configurationService,
91
private readonly
IConfigurationService
_configurationService;
103
public AppHostServerProject(string appPath, IDotNetCliRunner dotNetCliRunner, IPackagingService packagingService,
IConfigurationService
configurationService, ILogger<AppHostServerProject> logger, string? projectModelPath = null)
Projects\LanguageService.cs (2)
16
private readonly
IConfigurationService
_configurationService;
22
IConfigurationService
configurationService,
Projects\ProjectLocator.cs (1)
26
IConfigurationService
configurationService,
Scaffolding\ScaffoldingService.cs (2)
24
private readonly
IConfigurationService
_configurationService;
32
IConfigurationService
configurationService,
Templating\DotNetTemplateFactory.cs (1)
28
IConfigurationService
configurationService)
Aspire.Cli.Tests (6)
Utils\CliTestHelper.cs (6)
225
public Func<IServiceProvider,
IConfigurationService
> ConfigurationServiceFactory { get; set; }
227
public
IConfigurationService
CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider)
249
var
configurationService = serviceProvider.GetRequiredService<
IConfigurationService
>();
363
var
configurationService = serviceProvider.GetRequiredService<
IConfigurationService
>();