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

Class ContentTypeTransfer

Inheritance
System.Object
ContentTypeTransfer
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: 9.12.2
Syntax
public class ContentTypeTransfer : XmlTransferBase

Constructors

ContentTypeTransfer(ITransferContext, IContentTypeRepository)

Declaration
[Obsolete("Use alternative constructor")]
public ContentTypeTransfer(ITransferContext context, IContentTypeRepository contentTypeRepository)
Parameters
Type Name Description
ITransferContext context
IContentTypeRepository contentTypeRepository

ContentTypeTransfer(ITransferContext, IContentTypeRepository, IContentLoader)

Declaration
public ContentTypeTransfer(ITransferContext context, IContentTypeRepository contentTypeRepository, IContentLoader contentLoader)
Parameters
Type Name Description
ITransferContext context
IContentTypeRepository contentTypeRepository
IContentLoader contentLoader

Properties

PropertyTransfer

Gets or sets the property transfer.

Declaration
public PropertyDefinitionTransfer PropertyTransfer { get; set; }
Property Value
Type Description
PropertyDefinitionTransfer

The property transfer.

Remarks

This is exposed for test purposes.

Methods

Export(XmlTextWriter)

Declaration
public override void Export(XmlTextWriter output)
Parameters
Type Name Description
System.Xml.XmlTextWriter output
Overrides

Import(XmlTextReader)

Declaration
public override void Import(XmlTextReader input)
Parameters
Type Name Description
System.Xml.XmlTextReader input
Overrides

ImportContentTypes(IEnumerable<ContentType>)

Declaration
protected void ImportContentTypes(IEnumerable<ContentType> contentTypes)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentType> contentTypes

Extension Methods