aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/VersionCommand.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-10-17 02:47:44 -0700
committerRob Mensching <rob@firegiant.com>2017-10-18 13:31:55 -0700
commitc08fd0aefeea1628fe93c818ca4dde63fd6ac2e1 (patch)
treeac63402f6bad7f3a5bc20b088914145d9bf8635b /src/WixToolset.Core/CommandLine/VersionCommand.cs
parent6dd045318f7ee405e92e76d311ad1424c20157c1 (diff)
downloadwix-c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1.tar.gz
wix-c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1.tar.bz2
wix-c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1.zip
Introduce WixToolsetServiceProvider
Using a service provider allows all of WixToolset.Core's internal functionality to be abstracted behind interfaces in WixToolset.Extensibility. The service provide can also control what interfaces are singletons.
Diffstat (limited to 'src/WixToolset.Core/CommandLine/VersionCommand.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/VersionCommand.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/VersionCommand.cs b/src/WixToolset.Core/CommandLine/VersionCommand.cs
index d13e07a3..12941bdc 100644
--- a/src/WixToolset.Core/CommandLine/VersionCommand.cs
+++ b/src/WixToolset.Core/CommandLine/VersionCommand.cs
@@ -1,9 +1,10 @@
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
3using System;
4
5namespace WixToolset.Core 3namespace WixToolset.Core
6{ 4{
5 using System;
6 using WixToolset.Extensibility.Services;
7
7 internal class VersionCommand : ICommandLineCommand 8 internal class VersionCommand : ICommandLineCommand
8 { 9 {
9 public int Execute() 10 public int Execute()