BadScript 2
Loading...
Searching...
No Matches
Options_With_HelpText_And_MetaValue.cs
Go to the documentation of this file.
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
5
namespace
CommandLine.Tests.Fakes
6
{
7
class
Options_With_HelpText_And_MetaValue
8
{
9
[Option(
10
MetaValue =
"STR"
,
11
HelpText =
"Define a string value here."
)]
12
public
string
StringValue
{
get
;
set
; }
13
14
[Option(
'i'
, Min = 3, Max = 4,
15
MetaValue =
"INTSEQ"
,
16
HelpText =
"Define a int sequence here."
)]
17
public
IEnumerable<int>
IntSequence
{
get
;
set
; }
18
19
[Option(
'x'
,
20
HelpText =
"Define a boolean or switch value here."
)]
21
public
bool
BoolValue
{
get
;
set
; }
22
23
[Value(0,
24
MetaName =
"number"
,
25
MetaValue =
"NUM"
,
26
HelpText =
"Define a long value here."
)]
27
public
long
LongValue
{
get
;
set
; }
28
29
[Value(1,
30
MetaName =
"paintcolor"
,
31
MetaValue =
"COLOR"
,
32
HelpText =
"Define a color value here."
)]
33
public
Colors
ColorValue
{
get
;
set
; }
34
}
35
}
CommandLine.Tests.Fakes.Options_With_HelpText_And_MetaValue
Definition
Options_With_HelpText_And_MetaValue.cs:8
CommandLine.Tests.Fakes.Options_With_HelpText_And_MetaValue.ColorValue
Colors ColorValue
Definition
Options_With_HelpText_And_MetaValue.cs:33
CommandLine.Tests.Fakes.Options_With_HelpText_And_MetaValue.IntSequence
IEnumerable< int > IntSequence
Definition
Options_With_HelpText_And_MetaValue.cs:17
CommandLine.Tests.Fakes.Options_With_HelpText_And_MetaValue.LongValue
long LongValue
Definition
Options_With_HelpText_And_MetaValue.cs:27
CommandLine.Tests.Fakes.Options_With_HelpText_And_MetaValue.BoolValue
bool BoolValue
Definition
Options_With_HelpText_And_MetaValue.cs:21
CommandLine.Tests.Fakes.Options_With_HelpText_And_MetaValue.StringValue
string StringValue
Definition
Options_With_HelpText_And_MetaValue.cs:12
CommandLine.Tests.Fakes
Definition
Custom_Struct.cs:6
CommandLine.Tests.Fakes.Colors
Colors
Definition
Simple_Options_With_Enum.cs:6
deps
commandlineparser
tests
CommandLine.Tests
Fakes
Options_With_HelpText_And_MetaValue.cs
Generated by
1.9.8