London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class VisitorGroupModelBinder

Binds posted data against a VisitorGroup

Inheritance
System.Object
VisitorGroupModelBinder
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.VisitorGroups
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class VisitorGroupModelBinder : IModelBinder

Constructors

VisitorGroupModelBinder()

Declaration
public VisitorGroupModelBinder()

VisitorGroupModelBinder(LocalizationService)

Declaration
public VisitorGroupModelBinder(LocalizationService localizationService)
Parameters
Type Name Description
LocalizationService localizationService

Methods

BindModel(ControllerContext, ModelBindingContext)

Binds posted data to a VisitorGroup

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

Encapsulates information about an HTTP request

System.Web.Mvc.ModelBindingContext bindingContext

Provides the context in which a model binder functions

Returns
Type Description
System.Object

VisitorGroup object

Implements

System.Web.Mvc.IModelBinder

Extension Methods