// 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; using System.Collections.Generic; using WixToolset.Extensibility.Data; using WixToolset.Extensibility.Services; /// /// Base class for extensions to be able to parse the command-line. /// public abstract class BaseExtensionCommandLine : IExtensionCommandLine { /// /// See /// public virtual IReadOnlyCollection CommandLineSwitches => Array.Empty(); /// /// See /// public virtual void PostParse() { } /// /// See /// public virtual void PreParse(ICommandLineContext context) { } /// /// See /// public virtual bool TryParseArgument(ICommandLineParser parser, string argument) { return false; } /// /// See /// public virtual bool TryParseCommand(ICommandLineParser parser, string argument, out ICommandLineCommand command) { command = null; return false; } } }