C# Класс Svg.Web.SvgHandler

A handler to asynchronously render Scalable Vector Graphics files (usually *.svg or *.xml file extensions).

If a crawler requests the SVG file the raw XML will be returned rather than the image to allow crawlers to better read the image.

Adding "?raw=true" to the querystring will alos force the handler to render the raw SVG.

Наследование: IHttpAsyncHandler
Показать файл Открыть проект

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

Метод Описание
BeginProcessRequest ( HttpContext context, AsyncCallback cb, object extraData ) : IAsyncResult

Initiates an asynchronous call to the HTTP handler.

EndProcessRequest ( IAsyncResult result ) : void

Provides an asynchronous process End method when the process ends.

ProcessRequest ( HttpContext context ) : void

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

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

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

Initiates an asynchronous call to the HTTP handler.
public BeginProcessRequest ( HttpContext context, AsyncCallback cb, object extraData ) : IAsyncResult
context System.Web.HttpContext An object that provides references to intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
cb AsyncCallback The to call when the asynchronous method call is complete. If is null, the delegate is not called.
extraData object Any extra data needed to process the request.
Результат IAsyncResult

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

Provides an asynchronous process End method when the process ends.
public EndProcessRequest ( IAsyncResult result ) : void
result IAsyncResult An that contains information about the status of the process.
Результат void

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

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