BadScript 2
Loading...
Searching...
No Matches
Options_With_Default_Set_To_Sequence.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_Default_Set_To_Sequence
8
{
9
[Option(
'z'
,
"strseq"
, Default =
new
[] {
"a"
,
"b"
,
"c"
})]
10
public
IEnumerable<string>
StringSequence
{
get
;
set
; }
11
12
[Option(
'y'
,
"intseq"
, Default =
new
[] { 1, 2, 3 })]
13
public
IEnumerable<int>
IntSequence
{
get
;
set
; }
14
15
[Option(
'q'
,
"dblseq"
, Default =
new
[] { 1.1, 2.2, 3.3 })]
16
public
IEnumerable<int>
DoubleSequence
{
get
;
set
; }
17
}
18
}
CommandLine.Tests.Fakes.Options_With_Default_Set_To_Sequence
Definition
Options_With_Default_Set_To_Sequence.cs:8
CommandLine.Tests.Fakes.Options_With_Default_Set_To_Sequence.DoubleSequence
IEnumerable< int > DoubleSequence
Definition
Options_With_Default_Set_To_Sequence.cs:16
CommandLine.Tests.Fakes.Options_With_Default_Set_To_Sequence.StringSequence
IEnumerable< string > StringSequence
Definition
Options_With_Default_Set_To_Sequence.cs:10
CommandLine.Tests.Fakes.Options_With_Default_Set_To_Sequence.IntSequence
IEnumerable< int > IntSequence
Definition
Options_With_Default_Set_To_Sequence.cs:13
CommandLine.Tests.Fakes
Definition
Custom_Struct.cs:6
deps
commandlineparser
tests
CommandLine.Tests
Fakes
Options_With_Default_Set_To_Sequence.cs
Generated by
1.9.8