aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/DecompileContext.cs
blob: c69021179deecca02b8012d812a87c67e2b0e4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// 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
{
    using System;
    using System.Collections.Generic;
    using WixToolset.Data;
    using WixToolset.Extensibility;
    using WixToolset.Extensibility.Data;

    internal class DecompileContext : IDecompileContext
    {
        internal DecompileContext(IServiceProvider serviceProvider)
        {
            this.ServiceProvider = serviceProvider;
        }

        public IServiceProvider ServiceProvider { get; }

        public string DecompilePath { get; set; }

        public OutputType DecompileType { get; set; }

        public IEnumerable<IDecompilerExtension> Extensions { get; set; }

        public string ExtractFolder { get; set; }

        public string CabinetExtractFolder { get; set; }

        public string BaseSourcePath { get; set; }

        public string IntermediateFolder { get; set; }

        public bool IsAdminImage { get; set; }

        public string OutputPath { get; set; }

        public bool SuppressCustomTables { get; set; }

        public bool SuppressDroppingEmptyTables { get; set; }

        public bool SuppressExtractCabinets { get; set; }

        public bool SuppressUI { get; set; }

        public bool TreatProductAsModule { get; set; }
    }
}