C# Класс BlueCollar.Dashboard.IndexHandler

Extends StaticFileHandler to handle requests for the index page.
Наследование: StaticFileHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
IndexHandler ( IRepositoryFactory repositoryFactory ) : System

Initializes a new instance of the IndexHandler class.

Защищенные методы

Метод Описание
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.

Описание методов

IndexHandler() публичный Метод

Initializes a new instance of the IndexHandler class.
public IndexHandler ( IRepositoryFactory repositoryFactory ) : System
repositoryFactory IRepositoryFactory The repository factory to use.
Результат System

PerformRequest() защищенный Метод

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.
Результат byte[]

PrepareResponse() защищенный Метод

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.
Результат void