BadScript 2
Loading...
Searching...
No Matches
Options_With_Defaults.cs
Go to the documentation of this file.
2{
4 {
5 [Option(Default = 99)]
6 public int P1 { get; set; }
7 [Option()]
8 public string P2 { get; set; }
9 [Option(Default = 88)]
10 public int P3 { get; set; }
11 [Option(Default = Shapes.Square)]
12 public Shapes P4 { get; set; }
13 }
15 {
16 [Option(Default = 99)]
17 public int? P1 { get; set; }
18 [Option()]
19 public string P2 { get; set; }
20 [Option(Default = 88)]
21 public int? P3 { get; set; }
22 [Option(Default = Shapes.Square)]
23 public Shapes? P4 { get; set; }
24 }
25}
26