diff options
| author | Rob Mensching <rob@firegiant.com> | 2018-10-18 13:42:54 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@robmensching.com> | 2018-10-24 21:17:34 -0700 |
| commit | 13eedbfcf97e402ade06f2be29f98723ef7ff286 (patch) | |
| tree | 50155e7f0e9ee253b709a95b488b1a427fa0e013 /src/WixToolset.Core/DecompileContext.cs | |
| parent | d98126dc766b9b063d2d26ced62553d4a5a218b5 (diff) | |
| download | wix-13eedbfcf97e402ade06f2be29f98723ef7ff286.tar.gz wix-13eedbfcf97e402ade06f2be29f98723ef7ff286.tar.bz2 wix-13eedbfcf97e402ade06f2be29f98723ef7ff286.zip | |
Extract interfaces for Preprocess/Compile/Link/Bind/etc
Diffstat (limited to 'src/WixToolset.Core/DecompileContext.cs')
| -rw-r--r-- | src/WixToolset.Core/DecompileContext.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/WixToolset.Core/DecompileContext.cs b/src/WixToolset.Core/DecompileContext.cs new file mode 100644 index 00000000..a9f0640a --- /dev/null +++ b/src/WixToolset.Core/DecompileContext.cs | |||
| @@ -0,0 +1,28 @@ | |||
| 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 WixToolset.Data; | ||
| 8 | using WixToolset.Extensibility; | ||
| 9 | using WixToolset.Extensibility.Data; | ||
| 10 | |||
| 11 | internal class DecompileContext : IDecompileContext | ||
| 12 | { | ||
| 13 | internal DecompileContext(IServiceProvider serviceProvider) | ||
| 14 | { | ||
| 15 | this.ServiceProvider = serviceProvider; | ||
| 16 | } | ||
| 17 | |||
| 18 | public IServiceProvider ServiceProvider { get; } | ||
| 19 | |||
| 20 | public OutputType DecompileType { get; set; } | ||
| 21 | |||
| 22 | public IEnumerable<IDecompilerExtension> Extensions { get; set; } | ||
| 23 | |||
| 24 | public string IntermediateFolder { get; set; } | ||
| 25 | |||
| 26 | public string OutputPath { get; set; } | ||
| 27 | } | ||
| 28 | } | ||
