aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/Services/IBackendHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Extensibility/Services/IBackendHelper.cs')
-rw-r--r--src/WixToolset.Extensibility/Services/IBackendHelper.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/Services/IBackendHelper.cs b/src/WixToolset.Extensibility/Services/IBackendHelper.cs
new file mode 100644
index 00000000..83f57e35
--- /dev/null
+++ b/src/WixToolset.Extensibility/Services/IBackendHelper.cs
@@ -0,0 +1,23 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Extensibility.Services
4{
5 using WixToolset.Data;
6 using WixToolset.Extensibility.Data;
7
8 /// <summary>
9 /// Interface provided to help backend extensions.
10 /// </summary>
11 public interface IBackendHelper
12 {
13 /// <summary>
14 /// Creates a file transfer and marks it redundant if the source and destination are identical.
15 /// </summary>
16 /// <param name="source">Source for the file transfer.</param>
17 /// <param name="destination">Destiation for the file transfer.</param>
18 /// <param name="move">Indicates whether to move or copy the source file.</param>
19 /// <param name="type">Type of file transfer to create.</param>
20 /// <param name="sourceLineNumbers">Optional source line numbers that requested the file transfer.</param>
21 IFileTransfer CreateFileTransfer(string source, string destination, bool move, FileTransferType type, SourceLineNumber sourceLineNumbers = null);
22 }
23}