C# 클래스 MvcJson.Net.Controllers.HomeController

상속: Controller
파일 보기 프로젝트 열기: dax70/MvcJson.Net

공개 메소드들

메소드 설명
Index ( bool preferred = false ) : System.Web.Mvc.ActionResult

보호된 메소드들

메소드 설명
Json ( object data, string contentType, Encoding contentEncoding, JsonRequestBehavior behavior ) : System.Web.Mvc.JsonResult

Creates a System.Web.Mvc.JsonResult object that serializes the specified object to JavaScript Object Notation (JSON).

메소드 상세

Index() 공개 메소드

public Index ( bool preferred = false ) : System.Web.Mvc.ActionResult
preferred bool
리턴 System.Web.Mvc.ActionResult

Json() 보호된 메소드

Creates a System.Web.Mvc.JsonResult object that serializes the specified object to JavaScript Object Notation (JSON).
protected Json ( object data, string contentType, Encoding contentEncoding, JsonRequestBehavior behavior ) : System.Web.Mvc.JsonResult
data object The JavaScript object graph to serialize.
contentType string The content type (MIME type).
contentEncoding System.Text.Encoding The content encoding.
behavior JsonRequestBehavior The JSON request behavior
리턴 System.Web.Mvc.JsonResult