C# Класс Orchard.Utility.Extensions.HttpRequestExtensions

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

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

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

Returns the application root part of a request.

Prevents port number issues by using the client requested host

ToRootUrlString ( this request ) : string

Returns the root part of a request.

Prevents port number issues by using the client requested host

ToUrlString ( this request ) : string

Returns the client requested url.

Prevents port number issues by using the client requested host

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

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

Returns the application root part of a request.
Prevents port number issues by using the client requested host
public static ToApplicationRootUrlString ( this request ) : string
request this
Результат string

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

Returns the root part of a request.
Prevents port number issues by using the client requested host
public static ToRootUrlString ( this request ) : string
request this
Результат string

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

Returns the client requested url.
Prevents port number issues by using the client requested host
public static ToUrlString ( this request ) : string
request this
Результат string