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

Class InterfacePropertyTransform<T>

Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public abstract class InterfacePropertyTransform<T> : Object, IInterfacePropertyTransform
Type Parameters
Name Description
T

Constructors

InterfacePropertyTransform()

Declaration
protected InterfacePropertyTransform()

Properties

InterfaceType

Declaration
public Type InterfaceType { get; }
Property Value
Type Description
System.Type

Methods

ExportProperty(T, RawProperty, PropertyExportContext, Action<PropertyData, RawProperty>)

Declaration
protected virtual bool ExportProperty(T source, RawProperty target, PropertyExportContext context, Action<PropertyData, RawProperty> valueTransform)
Parameters
Type Name Description
T source
RawProperty target
PropertyExportContext context
System.Action<PropertyData, RawProperty> valueTransform
Returns
Type Description
System.Boolean

ImportProperty(RawProperty, T, PropertyImportContext, Action<RawProperty, PropertyData>)

Declaration
protected virtual bool ImportProperty(RawProperty source, T target, PropertyImportContext context, Action<RawProperty, PropertyData> valueTransform)
Parameters
Type Name Description
RawProperty source
T target
PropertyImportContext context
System.Action<RawProperty, PropertyData> valueTransform
Returns
Type Description
System.Boolean

Explicit Interface Implementations

IInterfacePropertyTransform.ExportProperty(IPropertyExporter, IContent, RawProperty, PropertyExportContext)

Declaration
bool IInterfacePropertyTransform.ExportProperty(IPropertyExporter currentTransfer, IContent source, RawProperty target, PropertyExportContext context)
Parameters
Type Name Description
IPropertyExporter currentTransfer
IContent source
RawProperty target
PropertyExportContext context
Returns
Type Description
System.Boolean

IInterfacePropertyTransform.ImportProperty(IPropertyImporter, RawProperty, IContent, PropertyImportContext)

Declaration
bool IInterfacePropertyTransform.ImportProperty(IPropertyImporter currentTransfer, RawProperty source, IContent target, PropertyImportContext context)
Parameters
Type Name Description
IPropertyImporter currentTransfer
RawProperty source
IContent target
PropertyImportContext context
Returns
Type Description
System.Boolean

Implements

Extension Methods