C# Class Orchard.Utility.Extensions.HttpRequestExtensions

Afficher le fichier Open project: ucdavis/Orchard

Méthodes publiques

Méthode Description
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

Method Details

ToApplicationRootUrlString() public static méthode

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
Résultat string

ToRootUrlString() public static méthode

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
Résultat string

ToUrlString() public static méthode

Returns the client requested url.
Prevents port number issues by using the client requested host
public static ToUrlString ( this request ) : string
request this
Résultat string