C# Class ParkitectNexus.Data.Web.Website

Represents the ParkitectNexus website.
Inheritance: IWebsite
显示文件 Open project: ParkitectNexus/ParkitectNexusClient

Public Methods

Method Description
Launch ( ) : void

Launches the nexus.

Launch ( string path ) : void

Launches the website at the specified path.

Launch ( string path, string subdomain ) : void

Launches the website at the specified path and sub domain.

ResolveUrl ( string path ) : string

Resolves the URL to the specified path.

ResolveUrl ( string path, string subdomain ) : string

Resolves the URL to the specified path and subdomain.

Website ( ILogger log ) : System.Diagnostics

Initializes a new instance of the T:System.Object class.

Method Details

Launch() public method

Launches the nexus.
public Launch ( ) : void
return void

Launch() public method

Launches the website at the specified path.
public Launch ( string path ) : void
path string The path.
return void

Launch() public method

Launches the website at the specified path and sub domain.
public Launch ( string path, string subdomain ) : void
path string The path.
subdomain string The sub domain.
return void

ResolveUrl() public method

Resolves the URL to the specified path.
public ResolveUrl ( string path ) : string
path string The path.
return string

ResolveUrl() public method

Resolves the URL to the specified path and subdomain.
public ResolveUrl ( string path, string subdomain ) : string
path string The path.
subdomain string The sub domain.
return string

Website() public method

Initializes a new instance of the T:System.Object class.
public Website ( ILogger log ) : System.Diagnostics
log ILogger
return System.Diagnostics