2 implementations of ITcpStateInfoProvider
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\Network\LinuxTcpStateInfo.cs (1)
9
internal sealed class LinuxTcpStateInfo :
ITcpStateInfoProvider
Windows\Network\WindowsTcpStateInfo.cs (1)
14
internal sealed class WindowsTcpStateInfo :
ITcpStateInfoProvider
6 references to ITcpStateInfoProvider
Microsoft.Extensions.Diagnostics.ResourceMonitoring (6)
Linux\Network\LinuxNetworkMetrics.cs (2)
12
private readonly
ITcpStateInfoProvider
_tcpStateInfoProvider;
14
public LinuxNetworkMetrics(IMeterFactory meterFactory,
ITcpStateInfoProvider
tcpStateInfoProvider)
ResourceMonitoringServiceCollectionExtensions.cs (2)
94
.AddActivatedSingleton<
ITcpStateInfoProvider
, WindowsTcpStateInfo>();
126
.AddActivatedSingleton<
ITcpStateInfoProvider
, LinuxTcpStateInfo>();
Windows\Network\WindowsNetworkMetrics.cs (2)
12
private readonly
ITcpStateInfoProvider
_tcpStateInfoProvider;
14
public WindowsNetworkMetrics(IMeterFactory meterFactory,
ITcpStateInfoProvider
tcpStateInfoProvider)