aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/LayoutContext.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-12-21 13:42:52 -0800
committerRob Mensching <rob@firegiant.com>2017-12-21 13:42:52 -0800
commitdc9f4c329e6f55ce7595970463e0caf148096f4b (patch)
tree86155ac36c76acda0a4b1673c77f54a9780c6885 /src/WixToolset.Core/LayoutContext.cs
parent155a6e96346e0cb3d9ab6f5372fa29b46ebaee89 (diff)
downloadwix-dc9f4c329e6f55ce7595970463e0caf148096f4b.tar.gz
wix-dc9f4c329e6f55ce7595970463e0caf148096f4b.tar.bz2
wix-dc9f4c329e6f55ce7595970463e0caf148096f4b.zip
Support wixout and extract Resolve and Layout from Binder
Diffstat (limited to 'src/WixToolset.Core/LayoutContext.cs')
-rw-r--r--src/WixToolset.Core/LayoutContext.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/WixToolset.Core/LayoutContext.cs b/src/WixToolset.Core/LayoutContext.cs
new file mode 100644
index 00000000..24f171a9
--- /dev/null
+++ b/src/WixToolset.Core/LayoutContext.cs
@@ -0,0 +1,40 @@
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.Core
4{
5 using System;
6 using System.Collections.Generic;
7 using WixToolset.Data.Bind;
8 using WixToolset.Extensibility;
9 using WixToolset.Extensibility.Services;
10
11 public class LayoutContext : ILayoutContext
12 {
13 internal LayoutContext(IServiceProvider serviceProvider)
14 {
15 this.ServiceProvider = serviceProvider;
16 }
17
18 public IServiceProvider ServiceProvider { get; }
19
20 public IMessaging Messaging { get; set; }
21
22 public IEnumerable<ILayoutExtension> Extensions { get; set; }
23
24 public IEnumerable<IFileSystemExtension> FileSystemExtensions { get; set; }
25
26 public IEnumerable<FileTransfer> FileTransfers { get; set; }
27
28 public IEnumerable<string> ContentFilePaths { get; set; }
29
30 public string OutputPdbPath { get; set; }
31
32 public string ContentsFile { get; set; }
33
34 public string OutputsFile { get; set; }
35
36 public string BuiltOutputsFile { get; set; }
37
38 public bool SuppressAclReset { get; set; }
39 }
40}