C# Класс Open.Core.Web.ServerExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
IsLocalHost ( this request ) : bool

Determines whether the application is running on the 'localhost' domain.

PrependDomain ( this urlPath ) : string

Prepends the server name to the given url.

Описание методов

IsLocalHost() публичный статический Метод

Determines whether the application is running on the 'localhost' domain.
public static IsLocalHost ( this request ) : bool
request this The HTTP request to examine.
Результат bool

PrependDomain() публичный статический Метод

Prepends the server name to the given url.
public static PrependDomain ( this urlPath ) : string
urlPath this The URL path to prepend.
Результат string