blob: 5f2ca1096a3b5f6aaa7fc5441cd6a28f25755174 (
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
29
30
31
32
33
|
// 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 System.Linq;
using WixToolset.Extensibility.Data;
using WixToolset.Extensibility.Services;
public abstract class BaseExtensionCommandLine : IExtensionCommandLine
{
public virtual IEnumerable<ExtensionCommandLineSwitch> CommandLineSwitches => Enumerable.Empty<ExtensionCommandLineSwitch>();
public virtual void PostParse()
{
}
public virtual void PreParse(ICommandLineContext context)
{
}
public virtual bool TryParseArgument(ICommandLineParser parser, string argument)
{
return false;
}
public virtual bool TryParseCommand(ICommandLineParser parser, string argument, out ICommandLineCommand command)
{
command = null;
return false;
}
}
}
|