// 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.Core.Bind; using WixToolset.Data; /// /// A cabinet builder work item. /// internal sealed class CabinetWorkItem { private string cabinetFile; private CompressionLevel compressionLevel; //private BinderFileManager binderFileManager; private int maxThreshold; /// /// 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. /// The binder file manager. public CabinetWorkItem(IEnumerable fileFacades, string cabinetFile, int maxThreshold, CompressionLevel compressionLevel /*, BinderFileManager binderFileManager*/) { this.cabinetFile = cabinetFile; this.compressionLevel = compressionLevel; this.FileFacades = fileFacades; //this.binderFileManager = binderFileManager; this.maxThreshold = maxThreshold; } /// /// Gets the cabinet file. /// /// The cabinet file. public string CabinetFile { get { return this.cabinetFile; } } /// /// Gets the compression level of the cabinet. /// /// The compression level of the cabinet. public CompressionLevel CompressionLevel { get { return this.compressionLevel; } } /// /// Gets the collection of files in this cabinet. /// /// The collection of files in this cabinet. public IEnumerable FileFacades { get; private set; } /// /// Gets the binder file manager. /// /// The binder file manager. //public BinderFileManager BinderFileManager //{ // get { return this.binderFileManager; } //} /// /// Gets the max threshold. /// /// The maximum threshold for a folder in a cabinet. public int MaxThreshold { get { return this.maxThreshold; } } } }