November Happy Hour will be moved to Thursday December 5th.

Class RestResultBase

Inheritance
System.Object
RestResultBase
Namespace: EPiServer.Shell.Services.Rest
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public abstract class RestResultBase : ActionResult

Constructors

RestResultBase(IObjectSerializerFactory)

Declaration
protected RestResultBase(IObjectSerializerFactory serializerFactory)
Parameters
Type Name Description
IObjectSerializerFactory serializerFactory

Properties

ContentEncoding

Declaration
public Encoding ContentEncoding { get; set; }
Property Value
Type Description
System.Text.Encoding

Data

Declaration
public object Data { get; set; }
Property Value
Type Description
System.Object

SafeResponse

Declaration
public bool SafeResponse { get; set; }
Property Value
Type Description
System.Boolean

Methods

ExecuteResult(ControllerContext)

Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type Name Description
System.Web.Mvc.ControllerContext context

Extension Methods