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

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

Méthodes publiques

Свойство Type Description
OutputJson Func

Private Properties

Свойство Type Description

Méthodes publiques

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

Returns the serialized Json

Method Details

CustomJsonResult() public méthode

public CustomJsonResult ( Func outputJson ) : System
outputJson Func
Résultat System

ExecuteResult() public méthode

public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
context System.Web.Mvc.ControllerContext
Résultat void

GetJson() public méthode

Returns the serialized Json
public GetJson ( ) : string
Résultat string

Property Details

OutputJson public_oe property

public Func OutputJson
Résultat Func