|
| 1 | +// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information. |
| 2 | + |
| 3 | +using System.Collections.Generic; |
| 4 | +using System.Runtime.CompilerServices; |
| 5 | + |
| 6 | +namespace CommandLine.Tests.Fakes |
| 7 | +{ |
| 8 | + |
| 9 | + [Verb("verb1")] |
| 10 | + class Options_HelpText_Ordering_Verb1 |
| 11 | + { |
| 12 | + [Option('a', "alpha", Required = true)] |
| 13 | + public string alphaOption { get; set; } |
| 14 | + |
| 15 | + [Option('b', "alpha2", Required = true)] |
| 16 | + public string alphaTwoOption { get; set; } |
| 17 | + |
| 18 | + [Option('d', "charlie", Required = false)] |
| 19 | + public string deltaOption { get; set; } |
| 20 | + |
| 21 | + [Option('c', "bravo", Required = false)] |
| 22 | + public string charlieOption { get; set; } |
| 23 | + |
| 24 | + [Option('f', "foxtrot", Required = false)] |
| 25 | + public string foxOption { get; set; } |
| 26 | + |
| 27 | + [Option('e', "echo", Required = false)] |
| 28 | + public string echoOption { get; set; } |
| 29 | + |
| 30 | + [Value(0)] public string someExtraOption { get; set; } |
| 31 | + } |
| 32 | + |
| 33 | + [Verb("verb2")] |
| 34 | + class Options_HelpText_Ordering_Verb2 |
| 35 | + { |
| 36 | + [Option('a', "alpha", Required = true)] |
| 37 | + public string alphaOption { get; set; } |
| 38 | + |
| 39 | + [Option('b', "alpha2", Required = true)] |
| 40 | + public string alphaTwoOption { get; set; } |
| 41 | + |
| 42 | + [Option('c', "bravo", Required = false)] |
| 43 | + public string charlieOption { get; set; } |
| 44 | + |
| 45 | + [Option('d', "charlie", Required = false)] |
| 46 | + public string deltaOption { get; set; } |
| 47 | + } |
| 48 | +} |
0 commit comments