7 references to WildcardHost
Microsoft.AspNetCore.Routing (7)
Matching\HostMatcherPolicy.cs (7)
105
if (host.Length == 0 || MemoryExtensions.Equals(host,
WildcardHost
, StringComparison.OrdinalIgnoreCase))
113
MemoryExtensions.EndsWith(requestHost, host.Slice(
WildcardHost
.Length), StringComparison.OrdinalIgnoreCase))
127
if (MemoryExtensions.Equals(port,
WildcardHost
, StringComparison.OrdinalIgnoreCase))
175
else if (hostSpan[hostParts[1]].Equals(
WildcardHost
, StringComparison.Ordinal))
409
Host = host ??
WildcardHost
;
418
public bool MatchesHost => !string.Equals(Host,
WildcardHost
, StringComparison.Ordinal);
479
return $"{Host}:{Port?.ToString(CultureInfo.InvariantCulture) ??
WildcardHost
}";