diff options
Diffstat (limited to 'src/WixToolset.Core/Bind/FileResolver.cs')
-rw-r--r-- | src/WixToolset.Core/Bind/FileResolver.cs | 12 |
1 files changed, 6 insertions, 6 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 | ||
3 | namespace WixToolset.Core.Bind | 3 | namespace 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 | ||