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;
15 references to Services
Microsoft.Extensions.Diagnostics.ResourceMonitoring (15)
ResourceMonitorBuilder.cs (1)
32
Services
.TryAddEnumerable(ServiceDescriptor.Singleton<IResourceUtilizationPublisher, T>());
ResourceMonitoringServiceCollectionExtensions.cs (14)
99
_ = builder.
Services
103
builder.
Services
.TryAddSingleton(TimeProvider.System);
105
_ = builder.
Services
117
builder.
Services
.TryAddSingleton<ISnapshotProvider, WindowsContainerSnapshotProvider>();
118
builder.
Services
.TryAddSingleton<ResourceQuotaProvider, WindowsContainerResourceQuotaProvider>();
122
builder.
Services
.TryAddSingleton<ISnapshotProvider, WindowsSnapshotProvider>();
131
builder.
Services
.TryAddActivatedSingleton<ISnapshotProvider, LinuxUtilizationProvider>();
132
builder.
Services
.TryAddSingleton<ResourceQuotaProvider, LinuxResourceQuotaProvider>();
134
builder.
Services
.TryAddSingleton(TimeProvider.System);
135
builder.
Services
.TryAddSingleton<IFileSystem, OSFileSystem>();
136
builder.
Services
.TryAddSingleton<IUserHz, UserHz>();
139
_ = builder.
Services
155
builder.
Services
.TryAddSingleton<ILinuxUtilizationParser, LinuxUtilizationParserCgroupV2>();
159
builder.
Services
.TryAddSingleton<ILinuxUtilizationParser, LinuxUtilizationParserCgroupV1>();