1 write to Port
Microsoft.AspNetCore.Routing (1)
Matching\HostMatcherPolicy.cs (1)
415Port = port;
10 references to Port
Microsoft.AspNetCore.Routing (10)
Matching\HostMatcherPolicy.cs (10)
257edgeKey.Port == endpointKey.Port && edgeKey.MatchHost(endpointKey.Host)) 392if ((!destination.host.MatchesPort || destination.host.Port == port) && 425public bool MatchesPort => Port != null; 437return Comparer<int?>.Default.Compare(Port, other.Port); 447return string.Equals(Host, other.Host, StringComparison.Ordinal) && Port == other.Port; 474return (Host?.GetHashCode() ?? 0) ^ (Port?.GetHashCode() ?? 0); 489return $"{Host}:{Port?.ToString(CultureInfo.InvariantCulture) ?? WildcardHost}";