Class AllowedContentTypesTransfer

Handles Import/Export of settings for available PageTypes

Inheritance
System.Object
AllowedContentTypesTransfer
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.Transfer
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0
Syntax
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
[Obsolete("Only used for importing older packages (7 RTM)")]
public virtual void ImportLegacy(XmlTextReader input)
Parameters
Type Name Description
System.Xml.XmlTextReader input

The input.

Extension Methods