diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-09-17 15:35:20 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-09-17 16:00:11 -0700 |
| commit | d3d3649a68cb1fa589fdd987a6690dbd5d671f0d (patch) | |
| tree | 44fe37ee352b7e3a355cc1e08b1d7d5988c14cc0 /src/WixToolset.Core/CommandLine/CommandLineOption.cs | |
| parent | a62610d23d6feb98be3b1e529a4e81b19d77d9d8 (diff) | |
| download | wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.gz wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.bz2 wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.zip | |
Initial code commit
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CommandLineOption.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/CommandLineOption.cs | 27 |
1 files changed, 27 insertions, 0 deletions
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 @@ | |||
| 1 | // 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. | ||
| 2 | |||
| 3 | namespace WixToolset | ||
| 4 | { | ||
| 5 | /// <summary> | ||
| 6 | /// A command line option. | ||
| 7 | /// </summary> | ||
| 8 | public struct CommandLineOption | ||
| 9 | { | ||
| 10 | public string Option; | ||
| 11 | public string Description; | ||
| 12 | public int AdditionalArguments; | ||
| 13 | |||
| 14 | /// <summary> | ||
| 15 | /// Instantiates a new BuilderCommandLineOption. | ||
| 16 | /// </summary> | ||
| 17 | /// <param name="option">The option name.</param> | ||
| 18 | /// <param name="description">The description of the option.</param> | ||
| 19 | /// <param name="additionalArguments">Count of additional arguments to require after this switch.</param> | ||
| 20 | public CommandLineOption(string option, string description, int additionalArguments) | ||
| 21 | { | ||
| 22 | this.Option = option; | ||
| 23 | this.Description = description; | ||
| 24 | this.AdditionalArguments = additionalArguments; | ||
| 25 | } | ||
| 26 | } | ||
| 27 | } | ||
