aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/LinkContext.cs
blob: c3631f72ba2cd746a062d3f15cd7b3d2a8a0e0c2 (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
// 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 LinkContext : ILinkContext
    {
        internal LinkContext(IServiceProvider serviceProvider)
        {
            this.ServiceProvider = serviceProvider;
        }

        public IServiceProvider ServiceProvider { get; }

        public Messaging Messaging { get; set; }

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

        public OutputType ExpectedOutputType { get; set; }

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