C# Класс AssetPackager.ScriptsHandler

Combines scripts into single one and writes it to response.
Наследование: IHttpHandler
Показать файл Открыть проект

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

Метод Описание
ProcessRequest ( HttpContext context ) : void

Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.

Приватные методы

Метод Описание
CombineScripts ( IEnumerable assets ) : object
CreateHttpWebRequest ( string url ) : HttpWebRequest

Initializes a new instance of HttpWebRequest.

FetchScript ( string relativeUrl, StringBuilder buffer ) : void

Retrieves script text by relative URL.

FindFile ( string path ) : string
GetDebugPath ( string releasePath ) : string
ReplaceExtension ( string path ) : string

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

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

Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext A object that provides references to /// the intrinsic server objects (for example, Request, Response, Session, and Server) /// used to service HTTP requests.
Результат void