C# Class BlueCollar.Dashboard.IndexHandler

Extends StaticFileHandler to handle requests for the index page.
Inheritance: StaticFileHandler
Datei anzeigen Open project: ChadBurggraf/blue-collar

Public Methods

Method Description
IndexHandler ( IRepositoryFactory repositoryFactory ) : System

Initializes a new instance of the IndexHandler class.

Protected Methods

Method Description
PerformRequest ( System.Web.HttpContextBase context, StaticFile file ) : byte[]

Performs the concrete request operation and returns the output as a byte array.

PrepareResponse ( System.Web.HttpContextBase context, HandlerOutput output ) : void

Prepares an HTTP context's response.

Method Details

IndexHandler() public method

Initializes a new instance of the IndexHandler class.
public IndexHandler ( IRepositoryFactory repositoryFactory ) : System
repositoryFactory IRepositoryFactory The repository factory to use.
return System

PerformRequest() protected method

Performs the concrete request operation and returns the output as a byte array.
protected PerformRequest ( System.Web.HttpContextBase context, StaticFile file ) : byte[]
context System.Web.HttpContextBase The HTTP context to perform the request for.
file StaticFile The static file to return the contents of.
return byte[]

PrepareResponse() protected method

Prepares an HTTP context's response.
protected PrepareResponse ( System.Web.HttpContextBase context, HandlerOutput output ) : void
context System.Web.HttpContextBase The HTTP context to prepare.
output HandlerOutput The cached output the response is being prepared for, if applicable.
return void