BadScript 2
Loading...
Searching...
No Matches
Simple_Options_With_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
3using System.Collections.Generic;
4
6{
8 {
9 [Option(Default = "")]
10 public string StringValue { get; set; }
11
12 [Value(0)]
13 public long LongValue { get; set; }
14
15 [Value(1, Min = 3, Max = 3)]
16 public IEnumerable<string> StringSequence { get; set; }
17
18 [Value(2)]
19 public int IntValue { get; set; }
20 }
21}