From dbde9e7104b907bbbaea17e21247d8cafc8b3a4c Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 14 Oct 2017 16:12:07 -0700 Subject: Massive refactoring to introduce the concept of IBackend --- src/WixToolset.Core/Bind/FileFacade.cs | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/WixToolset.Core/Bind/FileFacade.cs (limited to 'src/WixToolset.Core/Bind/FileFacade.cs') diff --git a/src/WixToolset.Core/Bind/FileFacade.cs b/src/WixToolset.Core/Bind/FileFacade.cs new file mode 100644 index 00000000..aaa6b7d3 --- /dev/null +++ b/src/WixToolset.Core/Bind/FileFacade.cs @@ -0,0 +1,44 @@ +// 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.Core.Bind +{ + using System.Collections.Generic; + using WixToolset.Data; + using WixToolset.Data.Rows; + + public class FileFacade + { + public FileFacade(FileRow file, WixFileRow wixFile, WixDeltaPatchFileRow deltaPatchFile) + { + this.File = file; + this.WixFile = wixFile; + this.DeltaPatchFile = deltaPatchFile; + } + + public FileFacade(bool fromModule, FileRow file, WixFileRow wixFile) + { + this.FromModule = fromModule; + this.File = file; + this.WixFile = wixFile; + } + + public bool FromModule { get; private set; } + + public FileRow File { get; private set; } + + public WixFileRow WixFile { get; private set; } + + public WixDeltaPatchFileRow DeltaPatchFile { get; private set; } + + /// + /// Gets the set of MsiAssemblyName rows created for this file. + /// + /// RowCollection of MsiAssemblyName table. + public List AssemblyNames { get; set; } + + /// + /// Gets or sets the MsiFileHash row for this file. + /// + public Row Hash { get; set; } + } +} -- cgit v1.2.3-55-g6feb