aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/BindContext.cs
blob: f423b7310ed4cae47fd75fdd9cd2c6caab2db7ac (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
// 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.Services;

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

        public IServiceProvider ServiceProvider { get; }

        public IMessaging Messaging { get; set; }

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

        public int CabbingThreadCount { get; set; }

        public string CabCachePath { get; set; }

        public int Codepage { 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 string OutputPdbPath { get; set; }

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

        public bool SuppressValidation { get; set; }
    }
}