C# Class Aqueduct.Web.WebContext

Inheritance: Aqueduct.Common.Context.BaseContext
Datei anzeigen Open project: aqueduct/Aqueduct.SitecoreLib

Public Methods

Method Description
ResolvePath ( string virtualPath ) : string

Resolves virtualPaths relative to a website's folder

WebContext ( IApplicationModeLoader modeLoader, string hostName ) : System.IO

Initializes a new instance of the WebContext class.

WebContext ( string hostName ) : System.IO

Initializes a new instance of the WebContext class current Website's host

Method Details

ResolvePath() public method

Resolves virtualPaths relative to a website's folder
public ResolvePath ( string virtualPath ) : string
virtualPath string Path relative to the website folder
return string

WebContext() public method

Initializes a new instance of the WebContext class.
public WebContext ( IApplicationModeLoader modeLoader, string hostName ) : System.IO
modeLoader IApplicationModeLoader
hostName string
return System.IO

WebContext() public method

Initializes a new instance of the WebContext class current Website's host
public WebContext ( string hostName ) : System.IO
hostName string
return System.IO