C# Class Umbraco.Pugpig.Core.Controllers.XmlResult

Inheritance: System.Web.Mvc.ActionResult
Mostra file Open project: aqueduct/UmbracoPugPigConnector

Public Methods

Method Description
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void

Serialises the object that was passed into the constructor to XML and writes the corresponding XML to the result stream.

XmlResult ( object objectToSerialize ) : System.Web.Mvc

Initializes a new instance of the XmlResult class.

Method Details

ExecuteResult() public method

Serialises the object that was passed into the constructor to XML and writes the corresponding XML to the result stream.
public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
context System.Web.Mvc.ControllerContext The controller context for the current request.
return void

XmlResult() public method

Initializes a new instance of the XmlResult class.
public XmlResult ( object objectToSerialize ) : System.Web.Mvc
objectToSerialize object The object to serialize to XML.
return System.Web.Mvc