Interface IPropertyTransform

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Interface to implement when a PropertyData value need to be transformed during export and/or import.

Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 11.20.2
Syntax
public interface IPropertyTransform

Methods

TransformForExport(PropertyData, RawProperty, PropertyExportContext)

Maps values of the source PropertyData object to the provided RawProperty output during export.

Declaration
bool TransformForExport(PropertyData source, RawProperty output, PropertyExportContext context)
Parameters
Type Name Description
PropertyData source

The source property that is being exported.

RawProperty output

The raw property that will be added to the export package.

PropertyExportContext context

The context in which the property is being exported.

Returns
Type Description
System.Boolean

true if the property has been handled; otherwise false

TransformForImport(RawProperty, PropertyData, PropertyImportContext)

Maps values of the source RawProperty object to the provided PropertyData output during import.

Declaration
bool TransformForImport(RawProperty source, PropertyData output, PropertyImportContext context)
Parameters
Type Name Description
RawProperty source

The raw source property that is being imported.

PropertyData output

The property which value is being imported.

PropertyImportContext context

The context in which the property is being imported.

Returns
Type Description
System.Boolean

true if the property has been handled; otherwise false

Extension Methods