Class PageReferenceTransferHandler
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Hanldes transfer of PageReferences stored in DDS
Inheritance
Inherited Members
Namespace: EPiServer.Enterprise.Transfer.Internal
Assembly: EPiServer.Enterprise.dll
Version: 10.10.4Syntax
public class PageReferenceTransferHandler : IDynamicDataTransferTypeHandler, ITypeTransferHandler
Constructors
PageReferenceTransferHandler(IPermanentLinkMapper)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the PageReferenceTransferHandler class.
Declaration
public PageReferenceTransferHandler(IPermanentLinkMapper permanentLinkMapper)
Parameters
Type | Name | Description |
---|---|---|
IPermanentLinkMapper | permanentLinkMapper | The permanent link mapper. |
Properties
HandledType
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the type that is hanlded by this implemenation.
Declaration
public Type HandledType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type that is hanlded by this . |
Methods
CreateInstance(DynamicDataTransferHandler, XElement)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates an instance of PageReference from serialized format.
Declaration
public 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 |
CreateInstance(IDynamicDataTransfer, XElement)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public object CreateInstance(IDynamicDataTransfer transferHandler, XElement serializedItem)
Parameters
Type | Name | Description |
---|---|---|
IDynamicDataTransfer | 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)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Replaces the serialized item with an own serialized format.
Declaration
public 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 |
SerializeItem(IDynamicDataTransfer, Object)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public XElement SerializeItem(IDynamicDataTransfer transferHandler, object instance)
Parameters
Type | Name | Description |
---|---|---|
IDynamicDataTransfer | transferHandler | The transfer handler. |
System.Object | instance | The instance that beeing serialized. |
Returns
Type | Description |
---|---|
System.Xml.Linq.XElement | Replaced serialized format |