diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-05-11 07:36:37 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-05-11 07:36:37 -0700 |
| commit | 3f583916719eeef598d10a5d4e14ef14f008243b (patch) | |
| tree | 3d528e0ddb5c0550954217c97059d2f19cd6152a /src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs | |
| parent | 2e5ab696b8b4666d551b2a0532b95fb7fe6dbe03 (diff) | |
| download | wix-3f583916719eeef598d10a5d4e14ef14f008243b.tar.gz wix-3f583916719eeef598d10a5d4e14ef14f008243b.tar.bz2 wix-3f583916719eeef598d10a5d4e14ef14f008243b.zip | |
Merge Dtf
Diffstat (limited to 'src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs')
| -rw-r--r-- | src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs b/src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs new file mode 100644 index 00000000..84ec8fc4 --- /dev/null +++ b/src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs | |||
| @@ -0,0 +1,31 @@ | |||
| 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.Dtf.Compression | ||
| 4 | { | ||
| 5 | using System; | ||
| 6 | using System.Collections.Generic; | ||
| 7 | using System.Text; | ||
| 8 | |||
| 9 | /// <summary> | ||
| 10 | /// Specifies the compression level ranging from minimum compresion to | ||
| 11 | /// maximum compression, or no compression at all. | ||
| 12 | /// </summary> | ||
| 13 | /// <remarks> | ||
| 14 | /// Although only four values are enumerated, any integral value between | ||
| 15 | /// <see cref="CompressionLevel.Min"/> and <see cref="CompressionLevel.Max"/> can also be used. | ||
| 16 | /// </remarks> | ||
| 17 | public enum CompressionLevel | ||
| 18 | { | ||
| 19 | /// <summary>Do not compress files, only store.</summary> | ||
| 20 | None = 0, | ||
| 21 | |||
| 22 | /// <summary>Minimum compression; fastest.</summary> | ||
| 23 | Min = 1, | ||
| 24 | |||
| 25 | /// <summary>A compromize between speed and compression efficiency.</summary> | ||
| 26 | Normal = 6, | ||
| 27 | |||
| 28 | /// <summary>Maximum compression; slowest.</summary> | ||
| 29 | Max = 10 | ||
| 30 | } | ||
| 31 | } | ||
