Class XFormPostModelBinder

Binder for XFormPostedData

Inheritance
System.Object
XFormPostModelBinder
Implements
System.Web.Mvc.IModelBinder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Mvc.XForms
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class XFormPostModelBinder : IModelBinder
Remarks

Bind to form available in request parameter "XFormId"

Constructors

XFormPostModelBinder()

Declaration
public XFormPostModelBinder()

Methods

BindModel(ControllerContext, ModelBindingContext)

Binds posted data to a XFormPostedData object

Declaration
public virtual object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
Parameters
Type Name Description
System.Web.Mvc.ControllerContext controllerContext

ControllerContext

System.Web.Mvc.ModelBindingContext bindingContext

ModelBindingContext

Returns
Type Description
System.Object

XFormPost object containing posted data

Implements

System.Web.Mvc.IModelBinder

Extension Methods