Class TransferHandlerBase
Base class to handle and transfer custom data
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public abstract class TransferHandlerBase : Object
Constructors
TransferHandlerBase()
Declaration
protected TransferHandlerBase()
Properties
TransferContentContext
Declaration
public IContentTransferContext TransferContentContext { get; }
Property Value
Type | Description |
---|---|
IContent |
Methods
ConentLanguageTransfering(RawContent)
Give possibility to custom handler to cache or prepare data before the Write method be called.
Declaration
public virtual void ConentLanguageTransfering(RawContent content)
Parameters
Type | Name | Description |
---|---|---|
Raw |
content | The content. |
ContentTransfering(RawContent)
Declaration
public virtual void ContentTransfering(RawContent content)
Parameters
Type | Name | Description |
---|---|---|
Raw |
content |
ContentTypesTransfering(IEnumerable<ContentType>, Boolean)
If the transferPropertySettings parameter set to true then PropertySettings for each property definition on block types be transfered.
Declaration
public virtual void ContentTypesTransfering(IEnumerable<ContentType> blockTypes, bool transferPropertySettings)
Parameters
Type | Name | Description |
---|---|---|
System. |
blockTypes | The block types. |
System. |
transferPropertySettings | if set to |
DynamicPropertiesTransfering(IList<PropertyDefinition>, Boolean)
If the transferPropertySettings parameter set to true then PropertySettings for each property definition is transfered.
Declaration
public virtual void DynamicPropertiesTransfering(IList<PropertyDefinition> propertyDefinitions, bool transferPropertySettings)
Parameters
Type | Name | Description |
---|---|---|
System. |
propertyDefinitions | The property definitions. |
System. |
transferPropertySettings | if set to |
Read(Stream)
Reads the specified reader.
Declaration
public abstract void Read(Stream reader)
Parameters
Type | Name | Description |
---|---|---|
System. |
reader | The reader. |
Write(Stream)
Writes the specified writer.
Declaration
public abstract void Write(Stream writer)
Parameters
Type | Name | Description |
---|---|---|
System. |
writer | The writer. |