Try our conversational search powered by Generative AI!

Class LocalizableInterfaceImport

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

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

Constructors

LocalizableInterfaceImport()

Declaration
public LocalizableInterfaceImport()

Methods

ImportProperty(IContentTransfer, RawContent, IContent, RawProperty)

Imports properties defined on ILocalizable.

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

Implements

Extension Methods