Class TransferHandlerBase
Base class to handle and transfer custom data
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: 8.11.0Syntax
public abstract class TransferHandlerBase
Constructors
TransferHandlerBase()
Declaration
protected TransferHandlerBase()
Properties
TransferContentContext
Declaration
public IContentTransferContext TransferContentContext { get; }
Property Value
Type | Description |
---|---|
IContentTransferContext |
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 |
---|---|---|
RawContent | content | The content. |
ContentTransfering(RawContent)
Declaration
public virtual void ContentTransfering(RawContent content)
Parameters
Type | Name | Description |
---|---|---|
RawContent | 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.Collections.Generic.IEnumerable<ContentType> | blockTypes | The block types. |
System.Boolean | 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.Collections.Generic.IList<PropertyDefinition> | propertyDefinitions | The property definitions. |
System.Boolean | transferPropertySettings | if set to |
Read(Stream)
Reads the specified reader.
Declaration
public abstract void Read(Stream reader)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | reader | The reader. |
Write(Stream)
Writes the specified writer.
Declaration
public abstract void Write(Stream writer)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | writer | The writer. |