diff options
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 | } | ||
