aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/IBinderFileManager.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-08-20 14:22:07 -0700
committerRob Mensching <rob@firegiant.com>2017-08-20 14:25:49 -0700
commit3e1c5e3fa80a2498f7d6aac5c0f8ca9e3bd7c66c (patch)
treebbe907a4c5ebf7aa5e3f02141f6e3abd31cb7b5c /src/WixToolset.Extensibility/IBinderFileManager.cs
parent6dee3b45cb679786bd49a5db8fde9006d283b3e2 (diff)
downloadwix-3e1c5e3fa80a2498f7d6aac5c0f8ca9e3bd7c66c.tar.gz
wix-3e1c5e3fa80a2498f7d6aac5c0f8ca9e3bd7c66c.tar.bz2
wix-3e1c5e3fa80a2498f7d6aac5c0f8ca9e3bd7c66c.zip
Move to .NET Core 2.0
Diffstat (limited to 'src/WixToolset.Extensibility/IBinderFileManager.cs')
-rw-r--r--src/WixToolset.Extensibility/IBinderFileManager.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/IBinderFileManager.cs b/src/WixToolset.Extensibility/IBinderFileManager.cs
new file mode 100644
index 00000000..3a2b1d40
--- /dev/null
+++ b/src/WixToolset.Extensibility/IBinderFileManager.cs
@@ -0,0 +1,29 @@
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
4{
5 using System.Collections.Generic;
6 using WixToolset.Data;
7 using WixToolset.Data.Rows;
8
9 public interface IBinderFileManager
10 {
11 IBinderFileManagerCore Core { set; }
12
13 ResolvedCabinet ResolveCabinet(string cabinetPath, IEnumerable<BindFileWithPath> files);
14
15 string ResolveFile(string source, string type, SourceLineNumber sourceLineNumbers, BindStage bindStage);
16
17 string ResolveRelatedFile(string source, string relatedSource, string type, SourceLineNumber sourceLineNumbers, BindStage bindStage);
18
19 string ResolveMedia(MediaRow mediaRow, string mediaLayoutDirectory, string layoutDirectory);
20
21 string ResolveUrl(string url, string fallbackUrl, string packageId, string payloadId, string fileName);
22
23 bool? CompareFiles(string targetFile, string updatedFile);
24
25 bool CopyFile(string source, string destination, bool overwrite);
26
27 bool MoveFile(string source, string destination, bool overwrite);
28 }
29}