// 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.Core.WindowsInstaller.Bind { using System.Collections.Generic; using WixToolset.Data; using WixToolset.Extensibility.Data; /// /// A cabinet builder work item. /// internal sealed class CabinetWorkItem { /// /// Instantiate a new CabinetWorkItem. /// /// The collection of files in this cabinet. /// The cabinet file. /// Maximum threshold for each cabinet. /// The compression level of the cabinet. /// Modularization suffix used when building a Merge Module. /// public CabinetWorkItem(IEnumerable fileFacades, string cabinetFile, int maxThreshold, CompressionLevel compressionLevel, string modularizationSuffix /*, BinderFileManager binderFileManager*/) { this.CabinetFile = cabinetFile; this.CompressionLevel = compressionLevel; this.ModularizationSuffix = modularizationSuffix; this.FileFacades = fileFacades; //this.BinderFileManager = binderFileManager; this.MaxThreshold = maxThreshold; } /// /// Gets the cabinet file. /// /// The cabinet file. public string CabinetFile { get; } /// /// Gets the compression level of the cabinet. /// /// The compression level of the cabinet. public CompressionLevel CompressionLevel { get; } /// /// Gets the modularization suffix used when building a Merge Module. /// public string ModularizationSuffix { get; } /// /// Gets the collection of files in this cabinet. /// /// The collection of files in this cabinet. public IEnumerable FileFacades { get; } // // Gets the binder file manager. // // The binder file manager. //public BinderFileManager BinderFileManager { get; private set; } /// /// Gets the max threshold. /// /// The maximum threshold for a folder in a cabinet. public int MaxThreshold { get; } } }