// 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.Data;
///
/// 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
{
///
/// Sets the message handler for the extension.
///
/// Message handler for the extension.
IMessageHandler MessageHandler { set; }
///
/// Gets the supported command line types for this extension.
///
/// The supported command line types for this extension.
IEnumerable CommandLineSwitches { get; }
///
/// Parse the commandline arguments.
///
/// Commandline arguments.
/// Unparsed commandline arguments.
string[] ParseCommandLine(string[] args);
}
}