blob: 0cbf84d9c79a5e4f7f83837f622104da25c923ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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.
namespace WixToolset.Extensibility
{
using System.Collections.Generic;
using WixToolset.Extensibility.Data;
using WixToolset.Extensibility.Services;
/// <summary>
/// Interface extensions implement to be able to parse command-line options.
/// </summary>
public interface IExtensionCommandLine
{
/// <summary>
/// Gets the supported command line types for this extension.
/// </summary>
/// <value>The supported command line types for this extension.</value>
IEnumerable<ExtensionCommandLineSwitch> CommandLineSwitches { get; }
void PreParse(ICommandLineContext context);
bool TryParseArgument(ICommandLineParser parser, string argument);
bool TryParseCommand(ICommandLineParser parser, out ICommandLineCommand command);
void PostParse();
}
}
|