C# Class Open.Core.Web.ServerExtensions

Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

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

Method Details

IsLocalHost() public static méthode

Determines whether the application is running on the 'localhost' domain.
public static IsLocalHost ( this request ) : bool
request this The HTTP request to examine.
Résultat bool

PrependDomain() public static méthode

Prepends the server name to the given url.
public static PrependDomain ( this urlPath ) : string
urlPath this The URL path to prepend.
Résultat string