Table of Contents

Class ClipboardManager

Namespace
Fluxzy.Clipboard
Assembly
Fluxzy.Core.dll

Even if this class refers as clipboard manager, it actually does not interact with the system clipboard. It offers a mechanism to copy and paste exchanges and connections from one archive to another with a payload that is serializable.

public class ClipboardManager
Inheritance
ClipboardManager
Inherited Members

Constructors

ClipboardManager(int)

public ClipboardManager(int idShiftValue = 100)

Parameters

idShiftValue int

Methods

Copy(IEnumerable<int>, IArchiveReader, CopyPolicyEnforcer)

Copy a list of exchanges into a data structure. Actual data may be embedded or referenced depending on the copy policy

public Task<CopyPayload> Copy(IEnumerable<int> exchangeIds, IArchiveReader archiveReader, CopyPolicyEnforcer copyPolicyEnforcer)

Parameters

exchangeIds IEnumerable<int>

The ids of exchange to be copied

archiveReader IArchiveReader

The reader where the exchange shall be taken

copyPolicyEnforcer CopyPolicyEnforcer

copy policy

Returns

Task<CopyPayload>

Paste(CopyPayload, DirectoryArchiveWriter)

public Task Paste(CopyPayload payload, DirectoryArchiveWriter archiveWriter)

Parameters

payload CopyPayload
archiveWriter DirectoryArchiveWriter

Returns

Task