C# Класс Guidelines.WebUI.ActionResults.DynamicView

Naively dynamically changes output based on content-type request header. Only necessary until ASP.net MVC 4, as this will be obsolete by that point.
Protects against JSON hijacking, see http://haacked.com/archive/2009/06/25/json-hijacking.aspx for more info.
Наследование: System.Web.Mvc.ActionResult
Показать файл Открыть проект

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

Метод Описание
DynamicView ( object model ) : System.Collections
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void

Описание методов

DynamicView() публичный Метод

public DynamicView ( object model ) : System.Collections
model object
Результат System.Collections

ExecuteResult() публичный Метод

public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
context System.Web.Mvc.ControllerContext
Результат void