Class VersionableInterfaceImport

Default implementation of component that imports valulues defined on IVersionable interface.

Inheritance
System.Object
VersionableInterfaceImport
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
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class VersionableInterfaceImport : IInterfaceHandledImport

Constructors

VersionableInterfaceImport()

Declaration
public VersionableInterfaceImport()

Methods

ImportProperty(IContentTransfer, RawContent, IContent, RawProperty)

Imports properties defined on IVersionable.

Declaration
public bool ImportProperty(IContentTransfer currentTranfer, RawContent rawContent, IContent content, RawProperty importedProperty)
Parameters
Type Name Description
IContentTransfer currentTranfer

The current tranfer.

RawContent rawContent

Content of the raw.

IContent content

The content.

RawProperty importedProperty

The imported property.

Returns
Type Description
System.Boolean
Remarks

The implementation will create a temporary PropertyData object. And then assign value to the PropertyData instance from importedProperty. It will then assign values to content through interface IVersionable.

Implements

Extension Methods