diff options
Diffstat (limited to 'src/WixToolset.Core/Bind/FileFacade.cs')
-rw-r--r-- | src/WixToolset.Core/Bind/FileFacade.cs | 44 |
1 files changed, 44 insertions, 0 deletions
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 @@ | |||
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 | |||
3 | namespace WixToolset.Core.Bind | ||
4 | { | ||
5 | using System.Collections.Generic; | ||
6 | using WixToolset.Data; | ||
7 | using WixToolset.Data.Rows; | ||
8 | |||
9 | public class FileFacade | ||
10 | { | ||
11 | public FileFacade(FileRow file, WixFileRow wixFile, WixDeltaPatchFileRow deltaPatchFile) | ||
12 | { | ||
13 | this.File = file; | ||
14 | this.WixFile = wixFile; | ||
15 | this.DeltaPatchFile = deltaPatchFile; | ||
16 | } | ||
17 | |||
18 | public FileFacade(bool fromModule, FileRow file, WixFileRow wixFile) | ||
19 | { | ||
20 | this.FromModule = fromModule; | ||
21 | this.File = file; | ||
22 | this.WixFile = wixFile; | ||
23 | } | ||
24 | |||
25 | public bool FromModule { get; private set; } | ||
26 | |||
27 | public FileRow File { get; private set; } | ||
28 | |||
29 | public WixFileRow WixFile { get; private set; } | ||
30 | |||
31 | public WixDeltaPatchFileRow DeltaPatchFile { get; private set; } | ||
32 | |||
33 | /// <summary> | ||
34 | /// Gets the set of MsiAssemblyName rows created for this file. | ||
35 | /// </summary> | ||
36 | /// <value>RowCollection of MsiAssemblyName table.</value> | ||
37 | public List<Row> AssemblyNames { get; set; } | ||
38 | |||
39 | /// <summary> | ||
40 | /// Gets or sets the MsiFileHash row for this file. | ||
41 | /// </summary> | ||
42 | public Row Hash { get; set; } | ||
43 | } | ||
44 | } | ||