C# 클래스 BlueCollar.Dashboard.StaticFileHandler

Basic implementation of IDashboardHandler for embedded static files.
상속: DashboardHandlerBase
파일 보기 프로젝트 열기: ChadBurggraf/blue-collar

공개 메소드들

메소드 설명
StaticFileHandler ( IRepositoryFactory repositoryFactory ) : System

Initializes a new instance of the StaticFileHandler class.

보호된 메소드들

메소드 설명
CreateFile ( System.Web.HttpContextBase context ) : StaticFile

Creates a StaticFile instance corresponding with the current request.

PerformRequest ( System.Web.HttpContextBase context ) : byte[]

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

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

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

메소드 상세

CreateFile() 보호된 메소드

Creates a StaticFile instance corresponding with the current request.
protected CreateFile ( System.Web.HttpContextBase context ) : StaticFile
context System.Web.HttpContextBase The HTTP context to create the file for.
리턴 StaticFile

PerformRequest() 보호된 메소드

Performs the concrete request operation and returns the output as a byte array.
protected PerformRequest ( System.Web.HttpContextBase context ) : byte[]
context System.Web.HttpContextBase The HTTP context to perform the request for.
리턴 byte[]

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[]

StaticFileHandler() 공개 메소드

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