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
3using System.Collections.Generic;
4
6{
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}