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)
26
Assert.Throws<ArgumentNullException>(() => ((IResourceMonitorBuilder)null!).
ConfigureMonitor
((IConfigurationSection)null!));
27
Assert.Throws<ArgumentNullException>(() => services.AddResourceMonitoring((b) => b.
ConfigureMonitor
((IConfigurationSection)null!)));
171
builder.
ConfigureMonitor
(configurationSection);