Implemented interface member:
method
DeleteConfigurationAsync
Aspire.Cli.Configuration.IConfigurationService.DeleteConfigurationAsync(System.String, System.Boolean, System.Threading.CancellationToken)
13 references to DeleteConfigurationAsync
Aspire.Cli.Tests (13)
Configuration\ConfigurationServiceTests.cs (13)
109
Assert.True(await service.
DeleteConfigurationAsync
("custom", isGlobal: true));
150
? service.
DeleteConfigurationAsync
("features.defaultWatchEnabled", global)
173
? service.
DeleteConfigurationAsync
("custom", global)
319
var deleted = await service.
DeleteConfigurationAsync
("channel", isGlobal: false);
340
var deleted = await service.
DeleteConfigurationAsync
("channel", isGlobal: false);
355
var deleted = await service.
DeleteConfigurationAsync
("channel", isGlobal: false);
367
var deleted = await service.
DeleteConfigurationAsync
("channel", isGlobal: false);
670
Assert.True(await service.
DeleteConfigurationAsync
(key, isGlobal));
686
Assert.True(await service.
DeleteConfigurationAsync
("plugins[0]"));
687
Assert.True(await service.
DeleteConfigurationAsync
("rows[0].nested.name"));
702
Assert.False(await service.
DeleteConfigurationAsync
(key));
714
await Assert.ThrowsAsync<ArgumentException>(() => service.
DeleteConfigurationAsync
("plugins[-1]"));
715
await Assert.ThrowsAsync<InvalidOperationException>(() => service.
DeleteConfigurationAsync
("custom[0]"));