From d3d3649a68cb1fa589fdd987a6690dbd5d671f0d Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 17 Sep 2017 15:35:20 -0700 Subject: Initial code commit --- .../CommandLine/CommandLineOption.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/WixToolset.Core/CommandLine/CommandLineOption.cs (limited to 'src/WixToolset.Core/CommandLine/CommandLineOption.cs') diff --git a/src/WixToolset.Core/CommandLine/CommandLineOption.cs b/src/WixToolset.Core/CommandLine/CommandLineOption.cs new file mode 100644 index 00000000..85a654bf --- /dev/null +++ b/src/WixToolset.Core/CommandLine/CommandLineOption.cs @@ -0,0 +1,27 @@ +// 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 +{ + /// + /// A command line option. + /// + public struct CommandLineOption + { + public string Option; + public string Description; + public int AdditionalArguments; + + /// + /// Instantiates a new BuilderCommandLineOption. + /// + /// The option name. + /// The description of the option. + /// Count of additional arguments to require after this switch. + public CommandLineOption(string option, string description, int additionalArguments) + { + this.Option = option; + this.Description = description; + this.AdditionalArguments = additionalArguments; + } + } +} -- cgit v1.2.3-55-g6feb