diff options
author | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:59:45 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:59:45 -0700 |
commit | 2bb37beda887d120a0ddabf874ad25357101faa1 (patch) | |
tree | c35e97b03274b86cfc9ff7fd2caeee211165a140 /src/WixToolset.Core/CompileContext.cs | |
parent | df7413aeed3aea3425dff20ae0c8b1be3a3ab525 (diff) | |
download | wix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.gz wix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.bz2 wix-2bb37beda887d120a0ddabf874ad25357101faa1.zip |
Update to WiX Intermediate Representation
Diffstat (limited to 'src/WixToolset.Core/CompileContext.cs')
-rw-r--r-- | src/WixToolset.Core/CompileContext.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/WixToolset.Core/CompileContext.cs b/src/WixToolset.Core/CompileContext.cs new file mode 100644 index 00000000..85759ec9 --- /dev/null +++ b/src/WixToolset.Core/CompileContext.cs | |||
@@ -0,0 +1,32 @@ | |||
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 | |||
3 | namespace WixToolset.Core | ||
4 | { | ||
5 | using System; | ||
6 | using System.Collections.Generic; | ||
7 | using System.Xml.Linq; | ||
8 | using WixToolset.Data; | ||
9 | using WixToolset.Extensibility; | ||
10 | |||
11 | public class CompileContext : ICompileContext | ||
12 | { | ||
13 | internal CompileContext(IServiceProvider serviceProvider) | ||
14 | { | ||
15 | this.ServiceProvider = serviceProvider; | ||
16 | } | ||
17 | |||
18 | public IServiceProvider ServiceProvider { get; } | ||
19 | |||
20 | public Messaging Messaging { get; set; } | ||
21 | |||
22 | public string CompilationId { get; set; } | ||
23 | |||
24 | public IEnumerable<ICompilerExtension> Extensions { get; set; } | ||
25 | |||
26 | public string OutputPath { get; set; } | ||
27 | |||
28 | public Platform Platform { get; set; } | ||
29 | |||
30 | public XDocument Source { get; set; } | ||
31 | } | ||
32 | } | ||