aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/Data/IPreprocessContext.cs
blob: a923c4dbdb5e3c76546a93b895cdb05f557eb1bf (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
// 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 WixToolset.Data;

    public interface IPreprocessContext
    {
        IServiceProvider ServiceProvider { get; }

        IEnumerable<IPreprocessorExtension> Extensions { get; set; }

        IList<string> IncludeSearchPaths { get; set; }

        /// <summary>
        /// Gets 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; }

        string SourceFile { get; set; }

        IDictionary<string, string> Variables { get; set; }

        SourceLineNumber CurrentSourceLineNumber { get; set; }
    }
}