EndpointHostHelpers.IsDevLocalhostTld Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| IsDevLocalhostTld(String) |
Determines whether the specified host ends with ".dev.localhost". |
| IsDevLocalhostTld(Uri) |
Determines whether the specified URI uses a host that ends with ".dev.localhost". |
IsDevLocalhostTld(String)
- Source:
- EndpointHostHelpers.cs
Determines whether the specified host ends with ".dev.localhost".
public static bool IsDevLocalhostTld(string? host);
static member IsDevLocalhostTld : string -> bool
Public Shared Function IsDevLocalhostTld (host As String) As Boolean
Parameters
- host
- String
The host to check.
Returns
true if the host ends with ".dev.localhost" (case-insensitive); otherwise, false.
Applies to
IsDevLocalhostTld(Uri)
- Source:
- EndpointHostHelpers.cs
Determines whether the specified URI uses a host that ends with ".dev.localhost".
public static bool IsDevLocalhostTld(Uri? uri);
static member IsDevLocalhostTld : Uri -> bool
Public Shared Function IsDevLocalhostTld (uri As Uri) As Boolean
Parameters
- uri
- Uri
The URI to check.
Returns
true if the host ends with ".dev.localhost" (case-insensitive); otherwise, false.