aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/Data/ICompileContext.cs
blob: 50ad10b9210465f5bdbc93cc2f4528026bd9224a (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.Extensibility.Data
{
    using System;
    using System.Collections.Generic;
    using System.Xml.Linq;
    using WixToolset.Data;

    public interface ICompileContext
    {
        IServiceProvider ServiceProvider { get; }

        string CompilationId { get; set; }

        IEnumerable<ICompilerExtension> Extensions { get; set; }

        string OutputPath { get; set; }

        /// <summary>
        /// Gets or sets the platform which the compiler will use when defaulting 64-bit attributes and elements.
        /// </summary>
        /// <value>The platform which the compiler will use when defaulting 64-bit attributes and elements.</value>
        Platform Platform { get; set; }

        XDocument Source { get; set; }
    }
}