C# Class tinyweb.framework.JsonOrXmlResult

Inheritance: IResult
Show file Open project: martinrue/Tinyweb

Public Methods

Method Description
JsonOrXmlResult ( object data ) : System
ProcessResult ( IRequestContext request, IResponseContext response ) : void

Method Details

JsonOrXmlResult() public method

public JsonOrXmlResult ( object data ) : System
data object
return System

ProcessResult() public method

public ProcessResult ( IRequestContext request, IResponseContext response ) : void
request IRequestContext
response IResponseContext
return void