C# Class BlueCollar.Dashboard.IndexHandler

Extends StaticFileHandler to handle requests for the index page.
Inheritance: StaticFileHandler
Afficher le fichier Open project: ChadBurggraf/blue-collar

Méthodes publiques

Méthode Description
IndexHandler ( IRepositoryFactory repositoryFactory ) : System

Initializes a new instance of the IndexHandler class.

Méthodes protégées

Méthode 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 méthode

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

PerformRequest() protected méthode

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.
Résultat byte[]

PrepareResponse() protected méthode

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.
Résultat void