BadScript 2
Loading...
Searching...
No Matches
Options_With_Sequence_Having_Separator_And_Values.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
public
class
Options_For_Issue_91
8
{
9
[Value(0, Required =
true
)]
10
public
string
InputFileName
{
get
;
set
; }
11
12
[Option(
'o'
,
"output"
)]
13
public
string
OutputFileName
{
get
;
set
; }
14
15
[Option(
'i'
,
"include"
, Separator =
','
)]
16
public
IEnumerable<string>
Included
{
get
;
set
; }
17
18
[Option(
'e'
,
"exclude"
, Separator =
','
)]
19
public
IEnumerable<string>
Excluded
{
get
;
set
; }
20
}
21
22
public
class
Options_For_Issue_454
23
{
24
[Option(
'c'
,
"channels"
, Required =
true
, Separator =
':'
, HelpText =
"Channel names"
)]
25
public
IEnumerable<string>
Channels
{
get
;
set
; }
26
27
[Value(0, Required =
true
, MetaName =
"file_path"
, HelpText =
"Path of archive to be processed"
)]
28
public
string
ArchivePath
{
get
;
set
; }
29
}
30
31
public
class
Options_For_Issue_510
32
{
33
[Option(
'a'
,
"aa"
, Required =
false
, Separator =
','
)]
34
public
IEnumerable<string>
A
{
get
;
set
; }
35
36
[Option(
'b'
,
"bb"
, Required =
false
)]
37
public
string
B
{
get
;
set
; }
38
39
[Value(0, Required =
true
)]
40
public
string
C
{
get
;
set
; }
41
}
42
43
public
enum
FMode
{
C
,
D
,
S
};
44
45
public
class
Options_For_Issue_617
46
{
47
[Option(
"fm"
, Separator=
','
, Default =
new
[] { FMode.S })]
48
public
IEnumerable<FMode>
Mode
{
get
;
set
; }
49
50
[Option(
'q'
)]
51
public
bool
q
{
get
;
set
; }
52
53
[Value(0)]
54
public
IList<string>
Files
{
get
;
set
; }
55
}
56
57
public
class
Options_For_Issue_619
58
{
59
[Option(
"verbose"
, Required =
false
, Default =
false
, HelpText =
"Generate process tracing information"
)]
60
public
bool
Verbose
{
get
;
set
; }
61
62
[Option(
"outdir"
, Required =
false
, Default =
"."
, HelpText =
"Directory to look for object file"
)]
63
public
string
OutDir
{
get
;
set
; }
64
65
[Option(
"modules"
, Required =
true
, Separator =
','
, HelpText =
"Directories to look for module file"
)]
66
public
IEnumerable<string>
ModuleDirs
{
get
;
set
; }
67
68
[Option(
"ignore"
, Required =
false
, Separator =
' '
, HelpText =
"List of additional module name references to ignore"
)]
69
public
IEnumerable<string>
Ignores
{
get
;
set
; }
70
71
[Value(0, Required =
true
, HelpText =
"List of source files to process"
)]
72
public
IEnumerable<string>
Srcs
{
get
;
set
; }
73
}
74
}
CommandLine.Tests.Fakes.Options_For_Issue_454
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:23
CommandLine.Tests.Fakes.Options_For_Issue_454.Channels
IEnumerable< string > Channels
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:25
CommandLine.Tests.Fakes.Options_For_Issue_454.ArchivePath
string ArchivePath
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:28
CommandLine.Tests.Fakes.Options_For_Issue_510
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:32
CommandLine.Tests.Fakes.Options_For_Issue_510.C
string C
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:40
CommandLine.Tests.Fakes.Options_For_Issue_510.B
string B
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:37
CommandLine.Tests.Fakes.Options_For_Issue_510.A
IEnumerable< string > A
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:34
CommandLine.Tests.Fakes.Options_For_Issue_617
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:46
CommandLine.Tests.Fakes.Options_For_Issue_617.Files
IList< string > Files
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:54
CommandLine.Tests.Fakes.Options_For_Issue_617.q
bool q
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:51
CommandLine.Tests.Fakes.Options_For_Issue_617.Mode
IEnumerable< FMode > Mode
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:48
CommandLine.Tests.Fakes.Options_For_Issue_619
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:58
CommandLine.Tests.Fakes.Options_For_Issue_619.ModuleDirs
IEnumerable< string > ModuleDirs
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:66
CommandLine.Tests.Fakes.Options_For_Issue_619.Ignores
IEnumerable< string > Ignores
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:69
CommandLine.Tests.Fakes.Options_For_Issue_619.OutDir
string OutDir
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:63
CommandLine.Tests.Fakes.Options_For_Issue_619.Verbose
bool Verbose
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:60
CommandLine.Tests.Fakes.Options_For_Issue_619.Srcs
IEnumerable< string > Srcs
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:72
CommandLine.Tests.Fakes.Options_For_Issue_91
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:8
CommandLine.Tests.Fakes.Options_For_Issue_91.InputFileName
string InputFileName
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:10
CommandLine.Tests.Fakes.Options_For_Issue_91.Excluded
IEnumerable< string > Excluded
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:19
CommandLine.Tests.Fakes.Options_For_Issue_91.OutputFileName
string OutputFileName
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:13
CommandLine.Tests.Fakes.Options_For_Issue_91.Included
IEnumerable< string > Included
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:16
CommandLine.Tests.Fakes
Definition
Custom_Struct.cs:6
CommandLine.Tests.Fakes.FMode
FMode
Definition
Options_With_Sequence_Having_Separator_And_Values.cs:43
CommandLine.Tests.Fakes.FMode.C
@ C
CommandLine.Tests.Fakes.FMode.S
@ S
CommandLine.Tests.Fakes.FMode.D
@ D
deps
commandlineparser
tests
CommandLine.Tests
Fakes
Options_With_Sequence_Having_Separator_And_Values.cs
Generated by
1.9.8