BadScript 2
Loading...
Searching...
No Matches
Options_With_Similar_Names.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_With_Similar_Names
8
{
9
[Option(
"deploy"
, Separator =
','
, HelpText=
"Projects to deploy"
)]
10
public
IEnumerable<string>
Deploys
{
get
;
set
; }
11
12
[Option(
"profile"
, Required =
true
, HelpText =
"Profile to use when restoring and publishing"
)]
13
public
string
Profile
{
get
;
set
; }
14
15
[Option(
"configure-profile"
, Required =
true
, HelpText =
"Profile to use for Configure"
)]
16
public
string
ConfigureProfile
{
get
;
set
; }
17
}
18
19
public
class
Options_With_Similar_Names_And_Separator
20
{
21
[Option(
'f'
,
"flag"
, HelpText =
"Flag"
)]
22
public
bool
Flag
{
get
;
set
; }
23
24
[Option(
'c'
,
"categories"
, Required =
false
, Separator =
','
, HelpText =
"Categories"
)]
25
public
IEnumerable<string>
Categories
{
get
;
set
; }
26
27
[Option(
'j'
,
"jobId"
, Required =
true
, HelpText =
"Texts.ExplainJob"
)]
28
public
int
JobId
{
get
;
set
; }
29
}
30
31
}
CommandLine.Tests.Fakes.Options_With_Similar_Names_And_Separator
Definition
Options_With_Similar_Names.cs:20
CommandLine.Tests.Fakes.Options_With_Similar_Names_And_Separator.Categories
IEnumerable< string > Categories
Definition
Options_With_Similar_Names.cs:25
CommandLine.Tests.Fakes.Options_With_Similar_Names_And_Separator.Flag
bool Flag
Definition
Options_With_Similar_Names.cs:22
CommandLine.Tests.Fakes.Options_With_Similar_Names_And_Separator.JobId
int JobId
Definition
Options_With_Similar_Names.cs:28
CommandLine.Tests.Fakes.Options_With_Similar_Names
Definition
Options_With_Similar_Names.cs:8
CommandLine.Tests.Fakes.Options_With_Similar_Names.ConfigureProfile
string ConfigureProfile
Definition
Options_With_Similar_Names.cs:16
CommandLine.Tests.Fakes.Options_With_Similar_Names.Deploys
IEnumerable< string > Deploys
Definition
Options_With_Similar_Names.cs:10
CommandLine.Tests.Fakes.Options_With_Similar_Names.Profile
string Profile
Definition
Options_With_Similar_Names.cs:13
CommandLine.Tests.Fakes
Definition
Custom_Struct.cs:6
deps
commandlineparser
tests
CommandLine.Tests
Fakes
Options_With_Similar_Names.cs
Generated by
1.9.8