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 Property
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IPropertyTransform
Methods
TransformForExport(PropertyData, RawProperty, PropertyExportContext)
Maps values of the source Property
Declaration
bool TransformForExport(PropertyData source, RawProperty output, PropertyExportContext context)
Parameters
Type | Name | Description |
---|---|---|
Property |
source | The source property that is being exported. |
Raw |
output | The raw property that will be added to the export package. |
Property |
context | The context in which the property is being exported. |
Returns
Type | Description |
---|---|
System. |
true if the property has been handled; otherwise false |
TransformForImport(RawProperty, PropertyData, PropertyImportContext)
Maps values of the source Raw
Declaration
bool TransformForImport(RawProperty source, PropertyData output, PropertyImportContext context)
Parameters
Type | Name | Description |
---|---|---|
Raw |
source | The raw source property that is being imported. |
Property |
output | The property which value is being imported. |
Property |
context | The context in which the property is being imported. |
Returns
Type | Description |
---|---|
System. |
true if the property has been handled; otherwise false |