7 references to ResourceMonitorService
Microsoft.Extensions.Diagnostics.ResourceMonitoring (7)
ResourceMonitorBuilder.cs (4)
19
services.TryAddSingleton<
ResourceMonitorService
>();
20
services.TryAddEnumerable(ServiceDescriptor.Singleton<IHostedService,
ResourceMonitorService
>(static sp => sp.GetRequiredService<
ResourceMonitorService
>()));
21
services.TryAddSingleton<IResourceMonitor>(static sp => sp.GetRequiredService<
ResourceMonitorService
>());
ResourceMonitorService.cs (3)
40
private readonly ILogger<
ResourceMonitorService
> _logger;
56
ILogger<
ResourceMonitorService
> logger,
65
ILogger<
ResourceMonitorService
> logger,