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