Class ClipboardManager
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
idShiftValueint
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
exchangeIdsIEnumerable<int>The ids of exchange to be copied
archiveReaderIArchiveReaderThe reader where the exchange shall be taken
copyPolicyEnforcerCopyPolicyEnforcercopy policy
Returns
Paste(CopyPayload, DirectoryArchiveWriter)
public Task Paste(CopyPayload payload, DirectoryArchiveWriter archiveWriter)
Parameters
payloadCopyPayloadarchiveWriterDirectoryArchiveWriter