From 3e1c5e3fa80a2498f7d6aac5c0f8ca9e3bd7c66c Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 20 Aug 2017 14:22:07 -0700 Subject: Move to .NET Core 2.0 --- src/WixToolset.Extensibility/IBinderFileManager.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/WixToolset.Extensibility/IBinderFileManager.cs (limited to 'src/WixToolset.Extensibility/IBinderFileManager.cs') 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 @@ +// 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. + +namespace WixToolset.Extensibility +{ + using System.Collections.Generic; + using WixToolset.Data; + using WixToolset.Data.Rows; + + public interface IBinderFileManager + { + IBinderFileManagerCore Core { set; } + + ResolvedCabinet ResolveCabinet(string cabinetPath, IEnumerable files); + + string ResolveFile(string source, string type, SourceLineNumber sourceLineNumbers, BindStage bindStage); + + string ResolveRelatedFile(string source, string relatedSource, string type, SourceLineNumber sourceLineNumbers, BindStage bindStage); + + string ResolveMedia(MediaRow mediaRow, string mediaLayoutDirectory, string layoutDirectory); + + string ResolveUrl(string url, string fallbackUrl, string packageId, string payloadId, string fileName); + + bool? CompareFiles(string targetFile, string updatedFile); + + bool CopyFile(string source, string destination, bool overwrite); + + bool MoveFile(string source, string destination, bool overwrite); + } +} -- cgit v1.2.3-55-g6feb