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

Class ContentInterfaceImport

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

Inheritance
System.Object
ContentInterfaceImport
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: 9.12.2
Syntax
public class ContentInterfaceImport : IInterfaceHandledImport

Constructors

ContentInterfaceImport()

Declaration
public ContentInterfaceImport()

Methods

ImportProperty(IContentTransfer, RawContent, IContent, RawProperty)

Imports properties defined on IContent.

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 IContent.

Implements

Extension Methods