C# Class JustPressPlay.Utilities.JppUriInfo

Afficher le fichier Open project: RIT-MAGIC/JustPressPlay

Méthodes publiques

Méthode Description
GetAbsoluteUri ( System.Web.HttpRequestBase request, string relativePath ) : string

Converts a relative URI to an absolute one (i.e. replaces ~ with domain name)

GetCurrentDomain ( System.Web.HttpRequestBase request ) : string

Gets the current website's domain name.

Method Details

GetAbsoluteUri() public static méthode

Converts a relative URI to an absolute one (i.e. replaces ~ with domain name)
public static GetAbsoluteUri ( System.Web.HttpRequestBase request, string relativePath ) : string
request System.Web.HttpRequestBase An HTTP request object
relativePath string The relative path to convert
Résultat string

GetCurrentDomain() public static méthode

Gets the current website's domain name.
public static GetCurrentDomain ( System.Web.HttpRequestBase request ) : string
request System.Web.HttpRequestBase An HTTP request object (in controllers, this is just Request)
Résultat string