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.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class VisitorGroupModelBinder : IModelBinder

Constructors

VisitorGroupModelBinder()

Default constructor

Declaration
public VisitorGroupModelBinder()

VisitorGroupModelBinder(LocalizationService)

Declaration
[Obsolete("Use other constructor")]
public VisitorGroupModelBinder(LocalizationService localizationService)
Parameters
Type Name Description
LocalizationService localizationService

VisitorGroupModelBinder(LocalizationService, IVisitorGroupRepository)

Creates a new instance of VisitorGroupModelBinder

Declaration
public VisitorGroupModelBinder(LocalizationService localizationService, IVisitorGroupRepository visitorGroupRepository)
Parameters
Type Name Description
LocalizationService localizationService
IVisitorGroupRepository visitorGroupRepository

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