C# Class JsonFx.Mvc.DataResult

Serializes data according to a specified format
Inheritance: System.Web.Mvc.ActionResult
Exibir arquivo Open project: pocket-playlab/jsonfx-v1

Public Methods

Method Description
DataResult ( IDataWriterProvider provider ) : System

Ctor

ExecuteResult ( ControllerContext context ) : void

Serializes the data using the specified IDataWriter

Private Methods

Method Description
ScrubFilename ( string url, string ext ) : string

Produces a header friendly name which ends in the given extension

Method Details

DataResult() public method

Ctor
public DataResult ( IDataWriterProvider provider ) : System
provider IDataWriterProvider
return System

ExecuteResult() public method

Serializes the data using the specified IDataWriter
public ExecuteResult ( ControllerContext context ) : void
context ControllerContext ControllerContext
return void