From 3f583916719eeef598d10a5d4e14ef14f008243b Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 11 May 2021 07:36:37 -0700 Subject: Merge Dtf --- .../WixToolset.Dtf.Compression/CompressionLevel.cs | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs (limited to 'src/dtf/WixToolset.Dtf.Compression/CompressionLevel.cs') 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 @@ +// 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. + +namespace WixToolset.Dtf.Compression +{ +using System; +using System.Collections.Generic; +using System.Text; + + /// + /// Specifies the compression level ranging from minimum compresion to + /// maximum compression, or no compression at all. + /// + /// + /// Although only four values are enumerated, any integral value between + /// and can also be used. + /// + public enum CompressionLevel + { + /// Do not compress files, only store. + None = 0, + + /// Minimum compression; fastest. + Min = 1, + + /// A compromize between speed and compression efficiency. + Normal = 6, + + /// Maximum compression; slowest. + Max = 10 + } +} -- cgit v1.2.3-55-g6feb