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)
109Assert.True(await service.DeleteConfigurationAsync("custom", isGlobal: true)); 150? service.DeleteConfigurationAsync("features.defaultWatchEnabled", global) 173? service.DeleteConfigurationAsync("custom", global) 319var deleted = await service.DeleteConfigurationAsync("channel", isGlobal: false); 340var deleted = await service.DeleteConfigurationAsync("channel", isGlobal: false); 355var deleted = await service.DeleteConfigurationAsync("channel", isGlobal: false); 367var deleted = await service.DeleteConfigurationAsync("channel", isGlobal: false); 670Assert.True(await service.DeleteConfigurationAsync(key, isGlobal)); 686Assert.True(await service.DeleteConfigurationAsync("plugins[0]")); 687Assert.True(await service.DeleteConfigurationAsync("rows[0].nested.name")); 702Assert.False(await service.DeleteConfigurationAsync(key)); 714await Assert.ThrowsAsync<ArgumentException>(() => service.DeleteConfigurationAsync("plugins[-1]")); 715await Assert.ThrowsAsync<InvalidOperationException>(() => service.DeleteConfigurationAsync("custom[0]"));