aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/CompileCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CompileCommand.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/CompileCommand.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/WixToolset.Core/CommandLine/CompileCommand.cs b/src/WixToolset.Core/CommandLine/CompileCommand.cs
index 4007c263..69e35cab 100644
--- a/src/WixToolset.Core/CommandLine/CompileCommand.cs
+++ b/src/WixToolset.Core/CommandLine/CompileCommand.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{
@@ -12,6 +12,13 @@ namespace WixToolset.Core.CommandLine
12 12
13 internal class CompileCommand : ICommandLineCommand 13 internal class CompileCommand : ICommandLineCommand
14 { 14 {
15 public CompileCommand(IServiceProvider serviceProvider)
16 {
17 this.ServiceProvider = serviceProvider;
18 this.Messaging = serviceProvider.GetService<IMessaging>();
19 this.ExtensionManager = serviceProvider.GetService<IExtensionManager>();
20 }
21
15 public CompileCommand(IServiceProvider serviceProvider, IEnumerable<SourceFile> sources, IDictionary<string, string> preprocessorVariables, Platform platform) 22 public CompileCommand(IServiceProvider serviceProvider, IEnumerable<SourceFile> sources, IDictionary<string, string> preprocessorVariables, Platform platform)
16 { 23 {
17 this.ServiceProvider = serviceProvider; 24 this.ServiceProvider = serviceProvider;
@@ -36,6 +43,15 @@ namespace WixToolset.Core.CommandLine
36 43
37 public IEnumerable<string> IncludeSearchPaths { get; } 44 public IEnumerable<string> IncludeSearchPaths { get; }
38 45
46 public bool ShowLogo => throw new NotImplementedException();
47
48 public bool StopParsing => throw new NotImplementedException();
49
50 public bool TryParseArgument(ICommandLineParser parseHelper, string argument)
51 {
52 throw new NotImplementedException();
53 }
54
39 public int Execute() 55 public int Execute()
40 { 56 {
41 foreach (var sourceFile in this.SourceFiles) 57 foreach (var sourceFile in this.SourceFiles)