C# Class SharpArch.Web.Mvc.JsonNet.JsonNetResult

Inheritance: System.Web.Mvc.ActionResult
Mostra file Open project: sharparchitecture/Sharp-Architecture

Private Properties

Property Type Description

Public Methods

Method Description
ExecuteResult ( ControllerContext context ) : void

Enables processing of the result of an action method by a custom type that inherits from the T:System.Web.Mvc.ActionResult class.

JsonNetResult ( ) : System

Initializes a new instance of the JsonNetResult class.

JsonNetResult ( object data ) : System

Initializes a new instance of the JsonNetResult class.

JsonNetResult ( object data, string contentType ) : System

Initializes a new instance of the JsonNetResult class.

JsonNetResult ( object data, string contentType, Encoding encoding ) : System

Initializes a new instance of the JsonNetResult class.

Method Details

ExecuteResult() public method

Enables processing of the result of an action method by a custom type that inherits from the T:System.Web.Mvc.ActionResult class.
context
public ExecuteResult ( ControllerContext context ) : void
context ControllerContext The context in which the result is executed. The context information includes the controller, HTTP content, request context, and route data.
return void

JsonNetResult() public method

Initializes a new instance of the JsonNetResult class.
public JsonNetResult ( ) : System
return System

JsonNetResult() public method

Initializes a new instance of the JsonNetResult class.
public JsonNetResult ( object data ) : System
data object The data.
return System

JsonNetResult() public method

Initializes a new instance of the JsonNetResult class.
public JsonNetResult ( object data, string contentType ) : System
data object The data.
contentType string Type of the content.
return System

JsonNetResult() public method

Initializes a new instance of the JsonNetResult class.
public JsonNetResult ( object data, string contentType, Encoding encoding ) : System
data object The data.
contentType string Type of the content.
encoding System.Text.Encoding The encoding.
return System