4 implementations of IConfigurationService
aspire (1)
Configuration\ConfigurationService.cs (1)
15
internal sealed class ConfigurationService(IConfiguration configuration, CliExecutionContext executionContext, FileInfo globalSettingsFile, ILogger<ConfigurationService> logger) :
IConfigurationService
Aspire.Cli.Tests (3)
Commands\ConfigCommandTests.cs (1)
1024
public class TestConfigurationService :
IConfigurationService
Projects\ProjectLocatorTests.cs (1)
2098
private sealed class TestConfigurationService(CliExecutionContext executionContext) :
IConfigurationService
TestServices\TestConfigurationService.cs (1)
11
public sealed class TestConfigurationService :
IConfigurationService
33 references to IConfigurationService
aspire (18)
Caching\AppHostInfoDiskCache.cs (2)
110
private readonly
IConfigurationService
_configurationService;
113
public AppHostInfoDiskCache(ILogger<AppHostInfoDiskCache> logger, CliExecutionContext executionContext,
IConfigurationService
configurationService, IEnvironment environment)
Commands\BaseConfigSubCommand.cs (2)
8
internal abstract class BaseConfigSubCommand(string name, string description,
IConfigurationService
configurationService, CommonCommandServices services) : BaseCommand(name, description, services)
10
protected
IConfigurationService
ConfigurationService { get; } = configurationService;
Commands\ConfigCommand.cs (6)
23
public ConfigCommand(IConfiguration configuration,
IConfigurationService
configurationService, CommonCommandServices services)
69
public GetCommand(
IConfigurationService
configurationService, CommonCommandServices services)
124
public SetCommand(
IConfigurationService
configurationService, CommonCommandServices services)
206
public ListCommand(
IConfigurationService
configurationService, CommonCommandServices services)
362
public DeleteCommand(
IConfigurationService
configurationService, CommonCommandServices services)
439
public InfoCommand(
IConfigurationService
configurationService, CommonCommandServices services)
Commands\UpdateCommand.cs (2)
39
private readonly
IConfigurationService
_configurationService;
72
IConfigurationService
configurationService,
Program.cs (1)
801
private static
IConfigurationService
BuildConfigurationService(IServiceProvider serviceProvider)
Projects\DotNetAppHostProject.cs (2)
49
private readonly
IConfigurationService
_configurationService;
89
IConfigurationService
configurationService,
Projects\LanguageService.cs (2)
16
private readonly
IConfigurationService
_configurationService;
22
IConfigurationService
configurationService,
Projects\ProjectLocator.cs (1)
143
IConfigurationService
configurationService,
Aspire.Cli.Tests (15)
Caching\AppHostInfoDiskCacheTests.cs (1)
17
private static AppHostInfoDiskCache CreateCache(TemporaryWorkspace workspace,
IConfigurationService
? configurationService = null)
Commands\ConfigCommandTests.cs (5)
148
var
configurationService = provider.GetRequiredService<
IConfigurationService
>();
936
var settingsPath = provider.GetRequiredService<
IConfigurationService
>().GetSettingsFilePath(isGlobal: true);
960
var settingsPath = provider.GetRequiredService<
IConfigurationService
>().GetSettingsFilePath(isGlobal: true);
1018
var settingsPath = provider.GetRequiredService<
IConfigurationService
>().GetSettingsFilePath(isGlobal: false);
Commands\InitCommandTests.cs (1)
1458
/// the global <see cref="
IConfigurationService
"/>. The injected configuration service throws
Commands\NewCommandChannelResolutionTests.cs (1)
32
/// the global <see cref="
IConfigurationService
"/>. The injected configuration service
Projects\ProjectLocatorTests.cs (1)
4161
IConfigurationService
? configurationService = null,
Utils\CliTestHelper.cs (6)
443
public Func<IServiceProvider,
IConfigurationService
> ConfigurationServiceFactory { get; set; }
445
public
IConfigurationService
CreateDefaultConfigurationServiceFactory(IServiceProvider serviceProvider)
470
var
configurationService = serviceProvider.GetRequiredService<
IConfigurationService
>();
628
var
configurationService = serviceProvider.GetRequiredService<
IConfigurationService
>();