main
cs 18 lines 712 Bytes
Raw
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
3 namespace WixToolset.Core.WindowsInstaller.CommandLine
4 {
5 using System.Threading;
6 using System.Threading.Tasks;
7 using WixToolset.Extensibility.Data;
8 using WixToolset.Extensibility.Services;
9
10 internal abstract class WindowsInstallerSubcommandBase
11 {
12 public abstract CommandLineHelp GetCommandLineHelp();
13
14 public abstract bool TryParseArgument(ICommandLineParser parser, string argument);
15
16 public abstract Task<int> ExecuteAsync(CancellationToken cancellationToken);
17 }
18 }