aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/LinkContext.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-11-01 10:59:45 -0700
committerRob Mensching <rob@firegiant.com>2017-11-01 10:59:45 -0700
commit2bb37beda887d120a0ddabf874ad25357101faa1 (patch)
treec35e97b03274b86cfc9ff7fd2caeee211165a140 /src/WixToolset.Core/LinkContext.cs
parentdf7413aeed3aea3425dff20ae0c8b1be3a3ab525 (diff)
downloadwix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.gz
wix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.bz2
wix-2bb37beda887d120a0ddabf874ad25357101faa1.zip
Update to WiX Intermediate Representation
Diffstat (limited to 'src/WixToolset.Core/LinkContext.cs')
-rw-r--r--src/WixToolset.Core/LinkContext.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/WixToolset.Core/LinkContext.cs b/src/WixToolset.Core/LinkContext.cs
new file mode 100644
index 00000000..c3631f72
--- /dev/null
+++ b/src/WixToolset.Core/LinkContext.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
3namespace WixToolset.Core
4{
5 using System;
6 using System.Collections.Generic;
7 using WixToolset.Data;
8 using WixToolset.Extensibility;
9 using WixToolset.Extensibility.Services;
10
11 public class LinkContext : ILinkContext
12 {
13 internal LinkContext(IServiceProvider serviceProvider)
14 {
15 this.ServiceProvider = serviceProvider;
16 }
17
18 public IServiceProvider ServiceProvider { get; }
19
20 public Messaging Messaging { get; set; }
21
22 public IEnumerable<ILinkerExtension> Extensions { get; set; }
23
24 public OutputType ExpectedOutputType { get; set; }
25
26 public IEnumerable<Intermediate> Intermediates { get; set; }
27 }
28}