Class XFormActionBaseResult

Base class which contains XformData and Xform

Inheritance
System.Object
XFormActionBaseResult
Namespace: EPiServer.Web.Mvc.XForms
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public abstract class XFormActionBaseResult : ActionResult

Constructors

XFormActionBaseResult(XForm, XFormPostedData, IPermanentLinkMapper)

Declaration
[Obsolete("Use the constructor with UrlResolver instead.")]
protected XFormActionBaseResult(XForm xform, XFormPostedData xformPostedData, IPermanentLinkMapper permanentLinkMapper)
Parameters
Type Name Description
XForm xform
XFormPostedData xformPostedData
IPermanentLinkMapper permanentLinkMapper

XFormActionBaseResult(XForm, XFormPostedData, UrlResolver)

Declaration
protected XFormActionBaseResult(XForm xform, XFormPostedData xformPostedData, UrlResolver urlResolver)
Parameters
Type Name Description
XForm xform
XFormPostedData xformPostedData
UrlResolver urlResolver

Properties

PermanentLinkMapper

Declaration
[Obsolete("Use UrlResolver instead.")]
protected IPermanentLinkMapper PermanentLinkMapper { get; set; }
Property Value
Type Description
IPermanentLinkMapper

UrlResolver

Gets or sets the permanent link mapper.

Declaration
protected UrlResolver UrlResolver { get; set; }
Property Value
Type Description
UrlResolver

XForm

Gets or sets the xform definition.

Declaration
protected XForm XForm { get; set; }
Property Value
Type Description
XForm

XFormId

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

XFormPostedData

Gets or setes the xform posted data.

Declaration
protected XFormPostedData XFormPostedData { get; set; }
Property Value
Type Description
XFormPostedData

Methods

InvokeAction(Controller, String)

Invokes an action on the controller.

Declaration
protected void InvokeAction(Controller controller, string actionName)
Parameters
Type Name Description
System.Web.Mvc.Controller controller

The controller.

System.String actionName

The name of the action to invoke.

Extension Methods