aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/IPreprocessContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Extensibility/IPreprocessContext.cs')
-rw-r--r--src/WixToolset.Extensibility/IPreprocessContext.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/IPreprocessContext.cs b/src/WixToolset.Extensibility/IPreprocessContext.cs
new file mode 100644
index 00000000..0f9c90bf
--- /dev/null
+++ b/src/WixToolset.Extensibility/IPreprocessContext.cs
@@ -0,0 +1,31 @@
1// 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.
2
3namespace WixToolset.Extensibility
4{
5 using System;
6 using System.Collections.Generic;
7 using WixToolset.Data;
8
9 public interface IPreprocessContext
10 {
11 IServiceProvider ServiceProvider { get; }
12
13 Messaging Messaging { get; set; }
14
15 IEnumerable<IPreprocessorExtension> Extensions { get; set; }
16
17 /// <summary>
18 /// Gets the platform which the compiler will use when defaulting 64-bit attributes and elements.
19 /// </summary>
20 /// <value>The platform which the compiler will use when defaulting 64-bit attributes and elements.</value>
21 Platform Platform { get; set; }
22
23 IList<string> IncludeSearchPaths { get; set; }
24
25 string SourceFile { get; set; }
26
27 IDictionary<string, string> Variables { get; set; }
28
29 SourceLineNumber CurrentSourceLineNumber { get; set; }
30 }
31}