| 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.Core.WindowsInstaller |
| 4 | { |
| 5 | using System; |
| 6 | using System.Collections.Generic; |
| 7 | using WixToolset.Data; |
| 8 | using WixToolset.Extensibility; |
| 9 | using WixToolset.Extensibility.Data; |
| 10 | |
| 11 | internal class WindowsInstallerDecompileContext : IWindowsInstallerDecompileContext |
| 12 | { |
| 13 | internal WindowsInstallerDecompileContext(IServiceProvider serviceProvider) |
| 14 | { |
| 15 | this.ServiceProvider = serviceProvider; |
| 16 | } |
| 17 | |
| 18 | public IServiceProvider ServiceProvider { get; } |
| 19 | |
| 20 | public string DecompilePath { get; set; } |
| 21 | |
| 22 | public OutputType DecompileType { get; set; } |
| 23 | |
| 24 | public IReadOnlyCollection<IWindowsInstallerDecompilerExtension> Extensions { get; set; } |
| 25 | |
| 26 | public IReadOnlyCollection<IExtensionData> ExtensionData { get; set; } |
| 27 | |
| 28 | public ISymbolDefinitionCreator SymbolDefinitionCreator { get; set; } |
| 29 | |
| 30 | public string ExtractFolder { get; set; } |
| 31 | |
| 32 | public string CabinetExtractFolder { get; set; } |
| 33 | |
| 34 | public string BaseSourcePath { get; set; } |
| 35 | |
| 36 | public string IntermediateFolder { get; set; } |
| 37 | |
| 38 | public bool IsAdminImage { get; set; } |
| 39 | |
| 40 | public string OutputPath { get; set; } |
| 41 | |
| 42 | public bool SuppressCustomTables { get; set; } |
| 43 | |
| 44 | public bool SuppressDroppingEmptyTables { get; set; } |
| 45 | |
| 46 | public bool SuppressRelativeActionSequencing { get; set; } |
| 47 | |
| 48 | public bool SuppressExtractCabinets { get; set; } |
| 49 | |
| 50 | public bool SuppressUI { get; set; } |
| 51 | |
| 52 | public bool KeepModularizationIds { get; set; } |
| 53 | } |
| 54 | } |