aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Bind
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-03-01 11:12:52 -0800
committerRob Mensching <rob@robmensching.com>2019-03-01 11:15:40 -0800
commit5392cf57c09bddde7157e5b26c5c2a013f819ead (patch)
tree96063a49293bd9eea122218e770b52d3c20812f2 /src/WixToolset.Core/Bind
parenta4f5a5a042c00254607fbecdf132a2e2a91a1bdd (diff)
downloadwix-5392cf57c09bddde7157e5b26c5c2a013f819ead.tar.gz
wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.tar.bz2
wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.zip
Integrate interface-only WixToolset.Extensibility change
Diffstat (limited to 'src/WixToolset.Core/Bind')
-rw-r--r--src/WixToolset.Core/Bind/FileResolver.cs12
-rw-r--r--src/WixToolset.Core/Bind/ResolveFieldsCommand.cs2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/WixToolset.Core/Bind/FileResolver.cs b/src/WixToolset.Core/Bind/FileResolver.cs
index 01dfe36c..a67d784d 100644
--- a/src/WixToolset.Core/Bind/FileResolver.cs
+++ b/src/WixToolset.Core/Bind/FileResolver.cs
@@ -1,4 +1,4 @@
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. 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 2
3namespace WixToolset.Core.Bind 3namespace WixToolset.Core.Bind
4{ 4{
@@ -14,24 +14,24 @@ namespace WixToolset.Core.Bind
14 { 14 {
15 private const string BindPathOpenString = "!(bindpath."; 15 private const string BindPathOpenString = "!(bindpath.";
16 16
17 private FileResolver(IEnumerable<BindPath> bindPaths) 17 private FileResolver(IEnumerable<IBindPath> bindPaths)
18 { 18 {
19 this.BindPaths = (bindPaths ?? Array.Empty<BindPath>()).ToLookup(b => b.Stage); 19 this.BindPaths = (bindPaths ?? Array.Empty<IBindPath>()).ToLookup(b => b.Stage);
20 this.RebaseTarget = this.BindPaths[BindStage.Target].Any(); 20 this.RebaseTarget = this.BindPaths[BindStage.Target].Any();
21 this.RebaseUpdated = this.BindPaths[BindStage.Updated].Any(); 21 this.RebaseUpdated = this.BindPaths[BindStage.Updated].Any();
22 } 22 }
23 23
24 public FileResolver(IEnumerable<BindPath> bindPaths, IEnumerable<IResolverExtension> extensions) : this(bindPaths) 24 public FileResolver(IEnumerable<IBindPath> bindPaths, IEnumerable<IResolverExtension> extensions) : this(bindPaths)
25 { 25 {
26 this.ResolverExtensions = extensions ?? Array.Empty<IResolverExtension>(); 26 this.ResolverExtensions = extensions ?? Array.Empty<IResolverExtension>();
27 } 27 }
28 28
29 public FileResolver(IEnumerable<BindPath> bindPaths, IEnumerable<ILibrarianExtension> extensions) : this(bindPaths) 29 public FileResolver(IEnumerable<IBindPath> bindPaths, IEnumerable<ILibrarianExtension> extensions) : this(bindPaths)
30 { 30 {
31 this.LibrarianExtensions = extensions ?? Array.Empty<ILibrarianExtension>(); 31 this.LibrarianExtensions = extensions ?? Array.Empty<ILibrarianExtension>();
32 } 32 }
33 33
34 private ILookup<BindStage, BindPath> BindPaths { get; } 34 private ILookup<BindStage, IBindPath> BindPaths { get; }
35 35
36 public bool RebaseTarget { get; } 36 public bool RebaseTarget { get; }
37 37
diff --git a/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs b/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs
index b7ed8a18..6c9f17dd 100644
--- a/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs
+++ b/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs
@@ -20,7 +20,7 @@ namespace WixToolset.Core.Bind
20 20
21 public IVariableResolver VariableResolver { private get; set; } 21 public IVariableResolver VariableResolver { private get; set; }
22 22
23 public IEnumerable<BindPath> BindPaths { private get; set; } 23 public IEnumerable<IBindPath> BindPaths { private get; set; }
24 24
25 public IEnumerable<IResolverExtension> Extensions { private get; set; } 25 public IEnumerable<IResolverExtension> Extensions { private get; set; }
26 26