diff options
Diffstat (limited to 'src/WixToolset.Core.Native/Cabinet.cs')
-rw-r--r-- | src/WixToolset.Core.Native/Cabinet.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/WixToolset.Core.Native/Cabinet.cs b/src/WixToolset.Core.Native/Cabinet.cs index 2d624658..7e04cbc5 100644 --- a/src/WixToolset.Core.Native/Cabinet.cs +++ b/src/WixToolset.Core.Native/Cabinet.cs | |||
@@ -15,19 +15,25 @@ namespace WixToolset.Core.Native | |||
15 | private const string CompressionLevelVariable = "WIX_COMPRESSION_LEVEL"; | 15 | private const string CompressionLevelVariable = "WIX_COMPRESSION_LEVEL"; |
16 | private static readonly char[] TextLineSplitter = new[] { '\t' }; | 16 | private static readonly char[] TextLineSplitter = new[] { '\t' }; |
17 | 17 | ||
18 | /// <summary> | ||
19 | /// | ||
20 | /// </summary> | ||
21 | /// <param name="path">Path of cabinet</param> | ||
18 | public Cabinet(string path) | 22 | public Cabinet(string path) |
19 | { | 23 | { |
20 | this.Path = path; | 24 | this.Path = path; |
21 | } | 25 | } |
22 | 26 | ||
27 | /// <summary> | ||
28 | /// Cabinet path. | ||
29 | /// </summary> | ||
23 | public string Path { get; } | 30 | public string Path { get; } |
24 | 31 | ||
25 | /// <summary> | 32 | /// <summary> |
26 | /// Creates a cabinet. | 33 | /// Creates a cabinet. |
27 | /// </summary> | 34 | /// </summary> |
28 | /// <param name="cabPath">Path of cabinet to create.</param> | 35 | /// <param name="files">Files to compress.</param> |
29 | /// <param name="compressionLevel">Level of compression to apply.</param> | 36 | /// <param name="compressionLevel">Level of compression to apply.</param> |
30 | /// <param name="maxFiles">Maximum number of files that will be added to cabinet.</param> | ||
31 | /// <param name="maxSize">Maximum size of cabinet.</param> | 37 | /// <param name="maxSize">Maximum size of cabinet.</param> |
32 | /// <param name="maxThresh">Maximum threshold for each cabinet.</param> | 38 | /// <param name="maxThresh">Maximum threshold for each cabinet.</param> |
33 | public void Compress(IEnumerable<CabinetCompressFile> files, CompressionLevel compressionLevel, int maxSize = 0, int maxThresh = 0) | 39 | public void Compress(IEnumerable<CabinetCompressFile> files, CompressionLevel compressionLevel, int maxSize = 0, int maxThresh = 0) |