C# Класс MvcJson.Net.Controllers.HomeController

Наследование: Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
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