diff options
Diffstat (limited to 'src/WixToolset.Core/Bind/Databases/CabinetWorkItem.cs')
-rw-r--r-- | src/WixToolset.Core/Bind/Databases/CabinetWorkItem.cs | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/src/WixToolset.Core/Bind/Databases/CabinetWorkItem.cs b/src/WixToolset.Core/Bind/Databases/CabinetWorkItem.cs deleted file mode 100644 index 20241bc9..00000000 --- a/src/WixToolset.Core/Bind/Databases/CabinetWorkItem.cs +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
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.Bind.Databases | ||
4 | { | ||
5 | using System.Collections.Generic; | ||
6 | using WixToolset.Data; | ||
7 | using WixToolset.Data.Rows; | ||
8 | |||
9 | /// <summary> | ||
10 | /// A cabinet builder work item. | ||
11 | /// </summary> | ||
12 | internal sealed class CabinetWorkItem | ||
13 | { | ||
14 | private string cabinetFile; | ||
15 | private CompressionLevel compressionLevel; | ||
16 | //private BinderFileManager binderFileManager; | ||
17 | private int maxThreshold; | ||
18 | |||
19 | /// <summary> | ||
20 | /// Instantiate a new CabinetWorkItem. | ||
21 | /// </summary> | ||
22 | /// <param name="fileFacades">The collection of files in this cabinet.</param> | ||
23 | /// <param name="cabinetFile">The cabinet file.</param> | ||
24 | /// <param name="maxThreshold">Maximum threshold for each cabinet.</param> | ||
25 | /// <param name="compressionLevel">The compression level of the cabinet.</param> | ||
26 | /// <param name="binderFileManager">The binder file manager.</param> | ||
27 | public CabinetWorkItem(IEnumerable<FileFacade> fileFacades, string cabinetFile, int maxThreshold, CompressionLevel compressionLevel /*, BinderFileManager binderFileManager*/) | ||
28 | { | ||
29 | this.cabinetFile = cabinetFile; | ||
30 | this.compressionLevel = compressionLevel; | ||
31 | this.FileFacades = fileFacades; | ||
32 | //this.binderFileManager = binderFileManager; | ||
33 | this.maxThreshold = maxThreshold; | ||
34 | } | ||
35 | |||
36 | /// <summary> | ||
37 | /// Gets the cabinet file. | ||
38 | /// </summary> | ||
39 | /// <value>The cabinet file.</value> | ||
40 | public string CabinetFile | ||
41 | { | ||
42 | get { return this.cabinetFile; } | ||
43 | } | ||
44 | |||
45 | /// <summary> | ||
46 | /// Gets the compression level of the cabinet. | ||
47 | /// </summary> | ||
48 | /// <value>The compression level of the cabinet.</value> | ||
49 | public CompressionLevel CompressionLevel | ||
50 | { | ||
51 | get { return this.compressionLevel; } | ||
52 | } | ||
53 | |||
54 | /// <summary> | ||
55 | /// Gets the collection of files in this cabinet. | ||
56 | /// </summary> | ||
57 | /// <value>The collection of files in this cabinet.</value> | ||
58 | public IEnumerable<FileFacade> FileFacades { get; private set; } | ||
59 | |||
60 | /// <summary> | ||
61 | /// Gets the binder file manager. | ||
62 | /// </summary> | ||
63 | /// <value>The binder file manager.</value> | ||
64 | //public BinderFileManager BinderFileManager | ||
65 | //{ | ||
66 | // get { return this.binderFileManager; } | ||
67 | //} | ||
68 | |||
69 | /// <summary> | ||
70 | /// Gets the max threshold. | ||
71 | /// </summary> | ||
72 | /// <value>The maximum threshold for a folder in a cabinet.</value> | ||
73 | public int MaxThreshold | ||
74 | { | ||
75 | get { return this.maxThreshold; } | ||
76 | } | ||
77 | } | ||
78 | } | ||