Interface ITypeTransferHandler

Specifies methods used to "override" serilaization of DDS items.

Namespace: EPiServer.Enterprise.Transfer
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0
Syntax
public interface ITypeTransferHandler

Properties

HandledType

Gets the type that is hanlded by this implemenation.

Declaration
Type HandledType { get; }
Property Value
Type Description
System.Type

The type of the hanlded.

Methods

CreateInstance(DynamicDataTransferHandler, XElement)

Creates an instance of handled type from serialized format.

Declaration
object CreateInstance(DynamicDataTransferHandler transferHandler, XElement serializedItem)
Parameters
Type Name Description
DynamicDataTransferHandler transferHandler

The transfer handler.

System.Xml.Linq.XElement serializedItem

The serialized item.

Returns
Type Description
System.Object

An instance of handled type

SerializeItem(DynamicDataTransferHandler, Object)

Takes care of serialization of item with an own serialized format.

Declaration
XElement SerializeItem(DynamicDataTransferHandler transferHandler, object instance)
Parameters
Type Name Description
DynamicDataTransferHandler transferHandler

The transfer handler.

System.Object instance

The instance that beeing serialized.

Returns
Type Description
System.Xml.Linq.XElement

Replaced serialized format

Extension Methods