Implemented interface member:
property
Services
Microsoft.Extensions.Diagnostics.ResourceMonitoring.IResourceMonitorBuilder.Services
1 write to Services
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
ResourceMonitorBuilder.cs (1)
23Services = services;
10 references to Services
Microsoft.Extensions.Diagnostics.ResourceMonitoring (10)
ResourceMonitorBuilder.cs (1)
35Services.TryAddEnumerable(ServiceDescriptor.Singleton<IResourceUtilizationPublisher, T>());
ResourceMonitoringServiceCollectionExtensions.cs (9)
92_ = builder.Services 104builder.Services.TryAddSingleton<ISnapshotProvider, WindowsContainerSnapshotProvider>(); 108builder.Services.TryAddSingleton<ISnapshotProvider, WindowsSnapshotProvider>(); 117builder.Services.TryAddActivatedSingleton<ISnapshotProvider, LinuxUtilizationProvider>(); 119builder.Services.TryAddSingleton<IFileSystem, OSFileSystem>(); 120builder.Services.TryAddSingleton<IUserHz, UserHz>(); 123_ = builder.Services 137builder.Services.TryAddSingleton<ILinuxUtilizationParser, LinuxUtilizationParserCgroupV2>(); 141builder.Services.TryAddSingleton<ILinuxUtilizationParser, LinuxUtilizationParserCgroupV1>();