1 write to Port
Microsoft.AspNetCore.Routing (1)
Matching\HostMatcherPolicy.cs (1)
419Port = port;
10 references to Port
Microsoft.AspNetCore.Routing (10)
Matching\HostMatcherPolicy.cs (10)
261edgeKey.Port == endpointKey.Port && edgeKey.MatchHost(endpointKey.Host)) 396if ((!destination.host.MatchesPort || destination.host.Port == port) && 429public bool MatchesPort => Port != null; 441return Comparer<int?>.Default.Compare(Port, other.Port); 451return string.Equals(Host, other.Host, StringComparison.Ordinal) && Port == other.Port; 482return (Host?.GetHashCode() ?? 0) ^ (Port?.GetHashCode() ?? 0); 497return $"{Host}:{Port?.ToString(CultureInfo.InvariantCulture) ?? WildcardHost}";