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