main
cs 31 lines 1.05 KB
Raw
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 }