aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/CommandLineContext.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-02 20:45:40 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-02 21:34:24 +1000
commit177784c9a6d93eeb3c195e6d62b97eb4c1dde32b (patch)
tree1ad322fa26816a32279f5433ec500cbdf5934f86 /src/WixToolset.Core/CommandLine/CommandLineContext.cs
parent302b501f9ed2ae840ce598b30792d0fc1b538572 (diff)
downloadwix-177784c9a6d93eeb3c195e6d62b97eb4c1dde32b.tar.gz
wix-177784c9a6d93eeb3c195e6d62b97eb4c1dde32b.tar.bz2
wix-177784c9a6d93eeb3c195e6d62b97eb4c1dde32b.zip
Use IWixToolsetServiceProvider and IWixToolsetCoreServiceProvider to expose the more convenient methods from WixToolsetServiceProvider without requiring casting or extension methods.
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CommandLineContext.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/CommandLineContext.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Core/CommandLine/CommandLineContext.cs b/src/WixToolset.Core/CommandLine/CommandLineContext.cs
index ea0cf3d4..6bf05590 100644
--- a/src/WixToolset.Core/CommandLine/CommandLineContext.cs
+++ b/src/WixToolset.Core/CommandLine/CommandLineContext.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.CommandLine 3namespace WixToolset.Core.CommandLine
4{ 4{
@@ -8,12 +8,12 @@ namespace WixToolset.Core.CommandLine
8 8
9 internal class CommandLineContext : ICommandLineContext 9 internal class CommandLineContext : ICommandLineContext
10 { 10 {
11 public CommandLineContext(IServiceProvider serviceProvider) 11 public CommandLineContext(IWixToolsetServiceProvider serviceProvider)
12 { 12 {
13 this.ServiceProvider = serviceProvider; 13 this.ServiceProvider = serviceProvider;
14 } 14 }
15 15
16 public IServiceProvider ServiceProvider { get; } 16 public IWixToolsetServiceProvider ServiceProvider { get; }
17 17
18 public IExtensionManager ExtensionManager { get; set; } 18 public IExtensionManager ExtensionManager { get; set; }
19 19