Implemented interface member:
property
Hosts
Microsoft.AspNetCore.Routing.IHostMetadata.Hosts
1 write to Hosts
Microsoft.AspNetCore.Routing (1)
HostAttribute.cs (1)
41
Hosts
= hosts.ToArray();
4 references to Hosts
Microsoft.AspNetCore.Routing (3)
HostAttribute.cs (3)
54
var hostsDisplay = (
Hosts
.Count == 0)
56
: string.Join(',',
Hosts
.Select(h => h.Contains(':') ? h : h + ":*"));
58
return DebuggerHelpers.GetDebugText(nameof(
Hosts
), hostsDisplay);
Microsoft.AspNetCore.Routing.Tests (1)
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
29
Assert.Equal("contoso.com:8080", hostMetadata.
Hosts
.Single());