4 implementations of DeleteConfigurationAsync
aspire (1)
Configuration\ConfigurationService.cs (1)
67
public async Task<bool>
DeleteConfigurationAsync
(string key, bool isGlobal = false, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (3)
Commands\ConfigCommandTests.cs (1)
1182
public Task<bool>
DeleteConfigurationAsync
(string key, bool isGlobal = false, CancellationToken cancellationToken = default)
Projects\ProjectLocatorTests.cs (1)
2170
public Task<bool>
DeleteConfigurationAsync
(string key, bool isGlobal = false, CancellationToken cancellationToken = default)
TestServices\TestConfigurationService.cs (1)
23
public Task<bool>
DeleteConfigurationAsync
(string key, bool isGlobal = false, CancellationToken cancellationToken = default)
4 references to DeleteConfigurationAsync
aspire (1)
Commands\ConfigCommand.cs (1)
419
var deleted = await ConfigurationService.
DeleteConfigurationAsync
(key, isGlobal, cancellationToken);
Aspire.Cli.Tests (3)
Commands\NewCommandLocalTemplateTests.SourceManagement.cs (3)
354
Assert.True(await provider.GetRequiredService<IConfigurationService>().
DeleteConfigurationAsync
("TEMPLATESOURCES.COMPANY.ref", isGlobal: true));
412
Assert.True(await configuration.
DeleteConfigurationAsync
("templateSources.company.PATH", isGlobal: true));
427
Assert.True(await configuration.
DeleteConfigurationAsync
("templateSources.company.displayName", isGlobal: true));