aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/BindContext.cs
blob: 09454824e16ff13a262387933b9b3fd7a49200dd (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// 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 System.Threading;
    using WixToolset.Data;
    using WixToolset.Extensibility;
    using WixToolset.Extensibility.Data;

    internal class BindContext : IBindContext
    {
        internal BindContext(IServiceProvider serviceProvider)
        {
            this.ServiceProvider = serviceProvider;
        }

        public IServiceProvider ServiceProvider { get; }

        public IEnumerable<BindPath> BindPaths { get; set; }

        public string BurnStubPath { get; set; }

        public int CabbingThreadCount { get; set; }

        public string CabCachePath { get; set; }

        public CompressionLevel? DefaultCompressionLevel { get; set; }

        public IEnumerable<IDelayedField> DelayedFields { get; set; }

        public IEnumerable<IExpectedExtractFile> ExpectedEmbeddedFiles { get; set; }

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

        public IEnumerable<IFileSystemExtension> FileSystemExtensions { get; set; }

        public IEnumerable<string> Ices { get; set; }

        public string IntermediateFolder { get; set; }

        public Intermediate IntermediateRepresentation { get; set; }

        public string OutputPath { get; set; }

        public PdbType PdbType { get; set; }

        public string PdbPath { get; set; }

        public int? ResolvedCodepage { get; set; }

        public int? ResolvedSummaryInformationCodepage { get; set; }

        public int? ResolvedLcid { get; set; }

        public IEnumerable<string> SuppressIces { get; set; }

        public bool SuppressValidation { get; set; }

        public bool SuppressLayout { get; set; }

        public CancellationToken CancellationToken { get; set; }
    }
}