Class VisitorGroupTransferDataHandler
Handle transfering of visitorgroup data in the export/import and mirrroring context
Inheritance
System.Object
VisitorGroupTransferDataHandler
Implements
Namespace: EPiServer.Enterprise.Transfer.Internal
Assembly: EPiServer.Enterprise.dll
Version: 12.0.3Syntax
[InitializableModule]
[ModuleDependency]
[ModuleDependency]
public class VisitorGroupTransferDataHandler : Object, 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 |
---|---|
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<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. |