1 implementation of IResourceMonitorBuilder
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
ResourceMonitorBuilder.cs (1)
13internal sealed class ResourceMonitorBuilder : IResourceMonitorBuilder
13 references to IResourceMonitorBuilder
Microsoft.Extensions.Diagnostics.ResourceMonitoring (11)
IResourceMonitorBuilder.cs (1)
29IResourceMonitorBuilder AddPublisher<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T>()
ResourceMonitorBuilder.cs (1)
29public IResourceMonitorBuilder AddPublisher<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T>()
ResourceMonitoringBuilderExtensions.cs (6)
28public static IResourceMonitorBuilder ConfigureMonitor( 29this IResourceMonitorBuilder builder, 45public static IResourceMonitorBuilder ConfigureMonitor( 46this IResourceMonitorBuilder builder, 55private static IResourceMonitorBuilder ConfigureMonitorInternal( 56this IResourceMonitorBuilder builder,
ResourceMonitoringServiceCollectionExtensions.cs (3)
44/// <param name="configure">Delegate to configure <see cref="IResourceMonitorBuilder"/>.</param> 52Action<IResourceMonitorBuilder> configure) 64Action<IResourceMonitorBuilder> configure)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (2)
ResourceMonitoringExtensionsTests.cs (2)
27Assert.Throws<ArgumentNullException>(() => ((IResourceMonitorBuilder)null!).ConfigureMonitor(_ => { })); 28Assert.Throws<ArgumentNullException>(() => ((IResourceMonitorBuilder)null!).ConfigureMonitor((IConfigurationSection)null!));