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
파일 보기 프로젝트 열기: prepare/HTML-Renderer

공개 메소드들

메소드 설명
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