C# 클래스 XmlResult, code

상속: ActionResult
파일 보기 프로젝트 열기: shendongnian/code 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteResult ( 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 )

Initializes a new instance of the XmlResult class.

메소드 상세

ExecuteResult() 공개 메소드

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

XmlResult() 공개 메소드

Initializes a new instance of the XmlResult class.
public XmlResult ( object objectToSerialize )
objectToSerialize object The object to serialize to XML.