aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/WixCloseApplicationTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/WixCloseApplicationTuple.cs')
-rw-r--r--src/wixext/Tuples/WixCloseApplicationTuple.cs70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/wixext/Tuples/WixCloseApplicationTuple.cs b/src/wixext/Tuples/WixCloseApplicationTuple.cs
index 2deebbae..0738e3e4 100644
--- a/src/wixext/Tuples/WixCloseApplicationTuple.cs
+++ b/src/wixext/Tuples/WixCloseApplicationTuple.cs
@@ -3,32 +3,32 @@
3namespace WixToolset.Util 3namespace WixToolset.Util
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.Util.Tuples; 6 using WixToolset.Util.Symbols;
7 7
8 public static partial class UtilTupleDefinitions 8 public static partial class UtilSymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition WixCloseApplication = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition WixCloseApplication = new IntermediateSymbolDefinition(
11 UtilTupleDefinitionType.WixCloseApplication.ToString(), 11 UtilSymbolDefinitionType.WixCloseApplication.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Target), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.Target), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Description), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.Description), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Condition), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.Condition), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Attributes), IntermediateFieldType.Number), 17 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.Attributes), IntermediateFieldType.Number),
18 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Sequence), IntermediateFieldType.Number), 18 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.Sequence), IntermediateFieldType.Number),
19 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Property), IntermediateFieldType.String), 19 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.Property), IntermediateFieldType.String),
20 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.TerminateExitCode), IntermediateFieldType.Number), 20 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.TerminateExitCode), IntermediateFieldType.Number),
21 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Timeout), IntermediateFieldType.Number), 21 new IntermediateFieldDefinition(nameof(WixCloseApplicationSymbolFields.Timeout), IntermediateFieldType.Number),
22 }, 22 },
23 typeof(WixCloseApplicationTuple)); 23 typeof(WixCloseApplicationSymbol));
24 } 24 }
25} 25}
26 26
27namespace WixToolset.Util.Tuples 27namespace WixToolset.Util.Symbols
28{ 28{
29 using WixToolset.Data; 29 using WixToolset.Data;
30 30
31 public enum WixCloseApplicationTupleFields 31 public enum WixCloseApplicationSymbolFields
32 { 32 {
33 Target, 33 Target,
34 Description, 34 Description,
@@ -40,64 +40,64 @@ namespace WixToolset.Util.Tuples
40 Timeout, 40 Timeout,
41 } 41 }
42 42
43 public class WixCloseApplicationTuple : IntermediateTuple 43 public class WixCloseApplicationSymbol : IntermediateSymbol
44 { 44 {
45 public WixCloseApplicationTuple() : base(UtilTupleDefinitions.WixCloseApplication, null, null) 45 public WixCloseApplicationSymbol() : base(UtilSymbolDefinitions.WixCloseApplication, null, null)
46 { 46 {
47 } 47 }
48 48
49 public WixCloseApplicationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixCloseApplication, sourceLineNumber, id) 49 public WixCloseApplicationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.WixCloseApplication, sourceLineNumber, id)
50 { 50 {
51 } 51 }
52 52
53 public IntermediateField this[WixCloseApplicationTupleFields index] => this.Fields[(int)index]; 53 public IntermediateField this[WixCloseApplicationSymbolFields index] => this.Fields[(int)index];
54 54
55 public string Target 55 public string Target
56 { 56 {
57 get => this.Fields[(int)WixCloseApplicationTupleFields.Target].AsString(); 57 get => this.Fields[(int)WixCloseApplicationSymbolFields.Target].AsString();
58 set => this.Set((int)WixCloseApplicationTupleFields.Target, value); 58 set => this.Set((int)WixCloseApplicationSymbolFields.Target, value);
59 } 59 }
60 60
61 public string Description 61 public string Description
62 { 62 {
63 get => this.Fields[(int)WixCloseApplicationTupleFields.Description].AsString(); 63 get => this.Fields[(int)WixCloseApplicationSymbolFields.Description].AsString();
64 set => this.Set((int)WixCloseApplicationTupleFields.Description, value); 64 set => this.Set((int)WixCloseApplicationSymbolFields.Description, value);
65 } 65 }
66 66
67 public string Condition 67 public string Condition
68 { 68 {
69 get => this.Fields[(int)WixCloseApplicationTupleFields.Condition].AsString(); 69 get => this.Fields[(int)WixCloseApplicationSymbolFields.Condition].AsString();
70 set => this.Set((int)WixCloseApplicationTupleFields.Condition, value); 70 set => this.Set((int)WixCloseApplicationSymbolFields.Condition, value);
71 } 71 }
72 72
73 public int Attributes 73 public int Attributes
74 { 74 {
75 get => this.Fields[(int)WixCloseApplicationTupleFields.Attributes].AsNumber(); 75 get => this.Fields[(int)WixCloseApplicationSymbolFields.Attributes].AsNumber();
76 set => this.Set((int)WixCloseApplicationTupleFields.Attributes, value); 76 set => this.Set((int)WixCloseApplicationSymbolFields.Attributes, value);
77 } 77 }
78 78
79 public int? Sequence 79 public int? Sequence
80 { 80 {
81 get => this.Fields[(int)WixCloseApplicationTupleFields.Sequence].AsNullableNumber(); 81 get => this.Fields[(int)WixCloseApplicationSymbolFields.Sequence].AsNullableNumber();
82 set => this.Set((int)WixCloseApplicationTupleFields.Sequence, value); 82 set => this.Set((int)WixCloseApplicationSymbolFields.Sequence, value);
83 } 83 }
84 84
85 public string Property 85 public string Property
86 { 86 {
87 get => this.Fields[(int)WixCloseApplicationTupleFields.Property].AsString(); 87 get => this.Fields[(int)WixCloseApplicationSymbolFields.Property].AsString();
88 set => this.Set((int)WixCloseApplicationTupleFields.Property, value); 88 set => this.Set((int)WixCloseApplicationSymbolFields.Property, value);
89 } 89 }
90 90
91 public int? TerminateExitCode 91 public int? TerminateExitCode
92 { 92 {
93 get => this.Fields[(int)WixCloseApplicationTupleFields.TerminateExitCode].AsNullableNumber(); 93 get => this.Fields[(int)WixCloseApplicationSymbolFields.TerminateExitCode].AsNullableNumber();
94 set => this.Set((int)WixCloseApplicationTupleFields.TerminateExitCode, value); 94 set => this.Set((int)WixCloseApplicationSymbolFields.TerminateExitCode, value);
95 } 95 }
96 96
97 public int? Timeout 97 public int? Timeout
98 { 98 {
99 get => this.Fields[(int)WixCloseApplicationTupleFields.Timeout].AsNullableNumber(); 99 get => this.Fields[(int)WixCloseApplicationSymbolFields.Timeout].AsNullableNumber();
100 set => this.Set((int)WixCloseApplicationTupleFields.Timeout, value); 100 set => this.Set((int)WixCloseApplicationSymbolFields.Timeout, value);
101 } 101 }
102 } 102 }
103} \ No newline at end of file 103} \ No newline at end of file