6 references to ConfigureMonitor
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (6)
Linux\AcceptanceTest.cs (3)
60.AddResourceMonitoring(x => x.ConfigureMonitor(section)) 124.AddResourceMonitoring(x => x.ConfigureMonitor(section)) 172.AddResourceMonitoring(x => x.ConfigureMonitor(section))
ResourceMonitoringExtensionsTests.cs (3)
26Assert.Throws<ArgumentNullException>(() => ((IResourceMonitorBuilder)null!).ConfigureMonitor((IConfigurationSection)null!)); 27Assert.Throws<ArgumentNullException>(() => services.AddResourceMonitoring((b) => b.ConfigureMonitor((IConfigurationSection)null!))); 171builder.ConfigureMonitor(configurationSection);