diff options
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 | } | ||