Interface IDynamicDataTransferTypeHandler
Specifies methods used to "override" serilaization of DDS items.
Namespace: EPiServer.Enterprise.Transfer.Xml
Assembly: EPiServer.Enterprise.dll
Version: 12.0.3Syntax
public interface IDynamicDataTransferTypeHandler
Properties
HandledType
Gets the type that is hanlded by this implemenation.
Declaration
Type HandledType { get; }
Property Value
Type | Description |
---|---|
System. |
The type of the hanlded. |
Methods
CreateInstance(IDynamicDataTransfer, XElement)
Creates an instance of handled type from serialized format.
Declaration
object CreateInstance(IDynamicDataTransfer transferHandler, XElement serializedItem)
Parameters
Type | Name | Description |
---|---|---|
IDynamic |
transferHandler | The transfer handler. |
System. |
serializedItem | The serialized item. |
Returns
Type | Description |
---|---|
System. |
An instance of handled type |
SerializeItem(IDynamicDataTransfer, Object)
Takes care of serialization of item with an own serialized format.
Declaration
XElement SerializeItem(IDynamicDataTransfer transferHandler, object instance)
Parameters
Type | Name | Description |
---|---|---|
IDynamic |
transferHandler | The transfer handler. |
System. |
instance | The instance that beeing serialized. |
Returns
Type | Description |
---|---|
System. |
Replaced serialized format |