Try our conversational search powered by Generative AI!

Class MultiplexingFileTransfer

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. IFileTransfer implementation that encapsulates other IFileTransfer instances and delegates the calls.

Inheritance
System.Object
MultiplexingFileTransfer
Implements
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.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class MultiplexingFileTransfer : IFileTransfer

Constructors

MultiplexingFileTransfer(IEnumerable<IFileTransfer>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the MultiplexingFileTransfer class.

Declaration
public MultiplexingFileTransfer(IEnumerable<IFileTransfer> fileTransfers)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IFileTransfer> fileTransfers

The file transfers.

Properties

Files

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Returns a list of all files.

Declaration
public IList<IFileTransferObject> Files { get; }
Property Value
Type Description
System.Collections.Generic.IList<IFileTransferObject>

The files to be transferred.

TransferContext

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the transfer context.

Declaration
public IContentTransferContext TransferContext { get; set; }
Property Value
Type Description
IContentTransferContext

The transfer context.

Methods

Export()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Exports all files to an IFileTransferObject.

Declaration
public IFileTransferObject[] Export()
Returns
Type Description
IFileTransferObject[]

A file transfer object

Import(IFileTransferObject)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Imports a file transfer object.

Declaration
public IFileTransferObject Import(IFileTransferObject metaData)
Parameters
Type Name Description
IFileTransferObject metaData

The file transfer object to import.

Returns
Type Description
IFileTransferObject

A file transfer object, if null is returned no data is imported.

TryAddBlob(Blob)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Adds a Blob instance to the package.

Declaration
public bool TryAddBlob(Blob blob)
Parameters
Type Name Description
Blob blob

The BLOB.

Returns
Type Description
System.Boolean

true if the blob was added else false.

TryAddFile(String, out String)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Tries to add the file to the package.

Declaration
public bool TryAddFile(string filePath, out string addedFilePath)
Parameters
Type Name Description
System.String filePath

The file path.

System.String addedFilePath

The added file path.

Returns
Type Description
System.Boolean

true if the file was added else false.

Implements

Extension Methods