net9.0
namespace Microsoft.Extensions.Diagnostics.ResourceMonitoring
{
    public interface IResourceMonitorBuilder
    {
        [Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId = "EXTOBS0001", UrlFormat = "https://aka.ms/dotnet-extensions-warnings/{0}")]
        IResourceMonitorBuilder! AddPublisher<T>()
            where T, class, IResourceUtilizationPublisher!;
    }
}
.NET 6.07.08.09.0
.NET Framework 4.6.24.74.7.14.7.24.84.8.1
Information specific to net9.0
Assemblies

Microsoft.Extensions.Diagnostics.ResourceMonitoring , Version=9.1.0.0, PublicKeyToken=31bf3856ad364e35

Microsoft.Extensions.Diagnostics.ResourceMonitoring , Version=8.10.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.Extensions.Diagnostics.ResourceMonitoring.

Package Microsoft.Extensions.Diagnostics.ResourceMonitoring (9.1.0-preview.1.24558.1) net9.0
Obsolete EXTOBS0001: This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/09/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙