Click or drag to resize
IWebSite Interface
The interface for objects that bring together a collection of pages into the website that is presented to the browser.

Namespace: VirtualRadar.Interface.WebSite
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IWebSite

The IWebSite type exposes the following members.

Properties
  NameDescription
Public propertyBaseStationDatabase
Gets or sets the BaseStation database that the site will use when generating reports.
Public propertyFlightSimulatorAircraftList
Gets or sets the aircraft list to use when browsers ask for the FSX aircraft list.
Public propertyProvider
Gets or sets the testing provider.
Public propertyStandingDataManager
Gets or sets the object that can lookup entries in the standing data on our behalf.
Public propertyWebServer
Gets the web server that the site is attached to.
Top
Methods
  NameDescription
Public methodAddHtmlContentInjector
Adds an object that can cause content to be injected into HTML files served by the site.
Public methodAddSiteRoot
Adds a folder from which files can be served by the site.
Public methodAttachSiteToServer
Attaches the website to a server.
Public methodGetSiteRootFolders
Returns a collection of all of the folders from which content will be served.
Public methodIsSiteRootActive
Returns true if the site root is currently being used to serve files.
Public methodRemoveHtmlContentInjector
Removes an HtmlContentInjector previously added by AddHtmlContentInjector(HtmlContentInjector).
Public methodRemoveSiteRoot
Removes a site root that had been previously added to the site via AddSiteRoot(SiteRoot).
Public methodRequestContent
Processes the request for content as if it had been a request received event raised by a web server.
Public methodRequestSimpleContent
Processes the request for content indicated by the path from root and file passed across.
Top
Events
  NameDescription
Public eventHtmlLoadedFromFile
Raised when an HTML file is loaded from a disk-bound file. Listeners can modify the HTML before it is sent to the browser.
Top
See Also