aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/LinkContext.cs
blob: 7576ca3f2507e385bde0647ffd7ad15522605ee7 (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
// 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;

    public class LinkContext : ILinkContext
    {
        internal LinkContext(IServiceProvider serviceProvider)
        {
            this.ServiceProvider = serviceProvider;
        }

        public IServiceProvider ServiceProvider { get; }

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

        public IEnumerable<IExtensionData> ExtensionData { get; set; }

        public OutputType ExpectedOutputType { get; set; }

        public IEnumerable<Intermediate> Intermediates { get; set; }

        public ITupleDefinitionCreator TupleDefinitionCreator { get; set; }
    }
}