C# Class Rebel.Cms.Web.Mvc.CustomJsonResult

Allows for a custom JsonSerializer to serialize the result
Inheritance: System.Web.Mvc.JsonResult
Exibir arquivo Open project: RebelCMS/rebelcmsxu5

Public Properties

Property Type Description
OutputJson Func

Private Properties

Property Type Description

Public Methods

Method Description
CustomJsonResult ( Func outputJson ) : System
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
GetJson ( ) : string

Returns the serialized Json

Method Details

CustomJsonResult() public method

public CustomJsonResult ( Func outputJson ) : System
outputJson Func
return System

ExecuteResult() public method

public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
context System.Web.Mvc.ControllerContext
return void

GetJson() public method

Returns the serialized Json
public GetJson ( ) : string
return string

Property Details

OutputJson public_oe property

public Func OutputJson
return Func