Class AllowedContentTypesTransfer
Handles Import/Export of settings for available PageTypes
Inherited Members
Namespace: EPiServer.Enterprise.Transfer.Internal
Assembly: EPiServer.Enterprise.dll
Version: 12.0.3Syntax
public class AllowedContentTypesTransfer : XmlTransferBase
Constructors
AllowedContentTypesTransfer(ITransferContext, ContentTypeAvailabilityService, IAvailableSettingsRepository, IContentTypeRepository)
Initializes a new instance of the AllowedContentTypesTransfer class.
Declaration
public AllowedContentTypesTransfer(ITransferContext context, ContentTypeAvailabilityService availablePageTypeService, IAvailableSettingsRepository availablePageTypesRepository, IContentTypeRepository contentTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
ITransferContext | context | The context. |
ContentTypeAvailabilityService | availablePageTypeService | The available page type service. |
IAvailableSettingsRepository | availablePageTypesRepository | The available page types repository. |
IContentTypeRepository | contentTypeRepository | The page type repository. |
Methods
Export(XmlTextWriter)
Export settings for available page types.
Declaration
public override void Export(XmlTextWriter output)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlTextWriter | output | The output. |
Overrides
Import(XmlTextReader)
Imports settings for available page types.
Declaration
public override void Import(XmlTextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlTextReader | input | The input. |
Overrides
ImportLegacy(XmlTextReader)
Imports settings for available page types.
Declaration
public virtual void ImportLegacy(XmlTextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlTextReader | input | The input. |