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