Share via


EndpointHostHelpers.IsDevLocalhostTld Method

Definition

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.

Applies to