November Happy Hour will be moved to Thursday December 5th.

Class AllowedContentTypesTransfer

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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.Internal
Assembly: EPiServer.Enterprise.dll
Version: 10.10.4
Syntax
public class AllowedContentTypesTransfer : XmlTransferBase

Constructors

AllowedContentTypesTransfer(ITransferContext, ContentTypeAvailabilityService, IAvailableSettingsRepository, IContentTypeRepository)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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