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

Inheritance: System.Web.Mvc.ActionResult
Afficher le fichier Open project: aqueduct/UmbracoPugPigConnector

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

XmlResult() public méthode

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