Class PropertyContentReferenceTransform
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Transfer the PropertyContentReference property for the transfer functionality.
Inheritance
System.Object
PropertyContentReferenceTransform
Implements
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.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class PropertyContentReferenceTransform : PropertyTransform<PropertyContentReference>, IPropertyTransform
Constructors
PropertyContentReferenceTransform(IPermanentLinkMapper, IContentLoader, IImplicitContentExporter)
Declaration
public PropertyContentReferenceTransform(IPermanentLinkMapper permanentLinkMapper, IContentLoader contentLoader, IImplicitContentExporter implicitContentExporter)
Parameters
Type | Name | Description |
---|---|---|
IPermanentLinkMapper | permanentLinkMapper | |
IContentLoader | contentLoader | |
IImplicitContentExporter | implicitContentExporter |
Methods
HandleUnmappedProperties(ICollection<Guid>, IContentRepository)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Will check if there are any stored properties of type PropertyContentReference that has LinkGuid filed set but not PageLink field. For those that has that and LinkGuid matches a page in importedPages the property is resaved to update PageLink.
Declaration
public static void HandleUnmappedProperties(ICollection<Guid> importedPages, IContentRepository contentRepository)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.Guid> | importedPages | |
IContentRepository | contentRepository |
TransformForExport(PropertyContentReference, RawProperty, PropertyExportContext)
Declaration
protected override bool TransformForExport(PropertyContentReference source, RawProperty output, PropertyExportContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyContentReference | source | |
RawProperty | output | |
PropertyExportContext | context |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
EPiServer.Core.Transfer.Internal.PropertyTransform<EPiServer.Core.PropertyContentReference>.TransformForExport(EPiServer.Core.PropertyContentReference, EPiServer.Core.RawProperty, EPiServer.Core.Transfer.PropertyExportContext)
TransformForImport(RawProperty, PropertyContentReference, PropertyImportContext)
Declaration
protected override bool TransformForImport(RawProperty source, PropertyContentReference output, PropertyImportContext context)
Parameters
Type | Name | Description |
---|---|---|
RawProperty | source | |
PropertyContentReference | output | |
PropertyImportContext | context |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
EPiServer.Core.Transfer.Internal.PropertyTransform<EPiServer.Core.PropertyContentReference>.TransformForImport(EPiServer.Core.RawProperty, EPiServer.Core.PropertyContentReference, EPiServer.Core.Transfer.PropertyImportContext)