10 writes to SourceIpAddresses
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (10)
ResourceMonitoringOptionsCustomValidatorTests.cs (2)
21
SourceIpAddresses
= new HashSet<string> { "" }
35
SourceIpAddresses
= new HashSet<string> { "127.0.0.1", "[::]" }
Windows\Tcp6TableInfoTests.cs (3)
234
SourceIpAddresses
= new HashSet<string> { "[::1]" },
250
SourceIpAddresses
= new HashSet<string> { "[::1]" },
268
SourceIpAddresses
= new HashSet<string> { "[::1]" },
Windows\TcpTableInfoTests.cs (3)
177
SourceIpAddresses
= new HashSet<string> { "127.0.0.1" },
193
SourceIpAddresses
= new HashSet<string> { "127.0.0.1" },
211
SourceIpAddresses
= new HashSet<string> { "127.0.0.1" },
Windows\WindowsCountersTests.cs (2)
26
SourceIpAddresses
= new HashSet<string> { "127.0.0.1", "[::1]" },
68
SourceIpAddresses
= new HashSet<string> { "127.0.0.1", "[::1]" },
3 references to SourceIpAddresses
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
ResourceMonitoringOptionsCustomValidator.cs (2)
23
foreach (var s in options.
SourceIpAddresses
)
28
builder.AddError(nameof(options.
SourceIpAddresses
), "must contain IPv4 or IPv6 addresses only");
Windows\Network\WindowsTcpStateInfo.cs (1)
30
var stringAddresses = options.Value.
SourceIpAddresses
;