1 write to Port
Microsoft.AspNetCore.Routing (1)
Matching\HostMatcherPolicy.cs (1)
410
Port
= port;
10 references to Port
Microsoft.AspNetCore.Routing (10)
Matching\HostMatcherPolicy.cs (10)
252
edgeKey.
Port
== endpointKey.
Port
&& edgeKey.MatchHost(endpointKey.Host))
387
if ((!destination.host.MatchesPort || destination.host.
Port
== port) &&
420
public bool MatchesPort =>
Port
!= null;
432
return Comparer<int?>.Default.Compare(
Port
, other.
Port
);
442
return string.Equals(Host, other.Host, StringComparison.Ordinal) &&
Port
== other.
Port
;
464
return (Host?.GetHashCode() ?? 0) ^ (
Port
?.GetHashCode() ?? 0);
479
return $"{Host}:{
Port
?.ToString(CultureInfo.InvariantCulture) ?? WildcardHost}";