Class VisitorGroupTransferDataHandler
Handle transfering of visitorgroup data in the export/import and mirrroring context
Inheritance
System.Object
VisitorGroupTransferDataHandler
Implements
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.Enterprise
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0Syntax
[ModuleDependency(typeof(DataInitialization))]
[InitializableModule]
[ModuleDependency(typeof(DynamicDataTransferHandler))]
public class VisitorGroupTransferDataHandler : IInitializableModule
Constructors
VisitorGroupTransferDataHandler()
Declaration
public VisitorGroupTransferDataHandler()
Properties
VisitorGroupRepository
Gets or sets the visitor group repository.
Declaration
public static IVisitorGroupRepository VisitorGroupRepository { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.Personalization.VisitorGroups.IVisitorGroupRepository | The visitor group repository. |
Remarks
This is mainly exposed to be settable in unit tests. During runtime it is fetched from IOC container.
Methods
GetExisitingVistitorGroups()
Gets the exisiting vistitor groups.
Declaration
public static IEnumerable<VisitorGroup> GetExisitingVistitorGroups()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EPiServer.Personalization.VisitorGroups.VisitorGroup> |
Initialize(InitializationEngine)
Initializes the Visitor group transfer handler. Listen to changing of visitor group repository
Declaration
public void Initialize(InitializationEngine context)
Parameters
Type | Name | Description |
---|---|---|
InitializationEngine | context | The context. |
Uninitialize(InitializationEngine)
Uninitializes the Visitor group transfer handler. Disconnect from changing of visitor group repository
Declaration
public void Uninitialize(InitializationEngine context)
Parameters
Type | Name | Description |
---|---|---|
InitializationEngine | context | The context. |