Try our conversational search powered by Generative AI!

Class CategorizableInterfaceImport

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

Inheritance
System.Object
CategorizableInterfaceImport
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 CategorizableInterfaceImport : IInterfaceHandledImport

Constructors

CategorizableInterfaceImport()

Declaration
public CategorizableInterfaceImport()

Methods

ImportProperty(IContentTransfer, RawContent, IContent, RawProperty)

Imports properties defined on ICategorizable.

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

Implements

Extension Methods