// 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.Services;
///
/// A command line option.
///
public struct ExtensionCommandLineSwitch
{
public string Switch { get; set; }
public string Description { get; set; }
}
///
/// Interface extensions implement to be able to parse command-line options.
///
public interface IExtensionCommandLine
{
///
/// Gets the supported command line types for this extension.
///
/// The supported command line types for this extension.
IEnumerable CommandLineSwitches { get; }
void PreParse(ICommandLineContext context);
bool TryParseArgument(IParseCommandLine parseCommandLine, string arg);
void PostParse();
}
}