4 references to ConfigureMonitor
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (4)
Linux\AcceptanceTest.cs (1)
78.AddResourceMonitoring(x => x.ConfigureMonitor(options =>
ResourceMonitoringExtensionsTests.cs (3)
25Assert.Throws<ArgumentNullException>(() => ((IResourceMonitorBuilder)null!).ConfigureMonitor(_ => { })); 28Assert.Throws<ArgumentNullException>(() => services.AddResourceMonitoring((b) => b.ConfigureMonitor((Action<ResourceMonitoringOptions>)null!))); 127builder.ConfigureMonitor(options =>